Add benchmark for 32 bit repeated fields.

The previous benchmark did not cover 32 bit fields, and was unrealistically biased towards perfect multiples of 32.

PiperOrigin-RevId: 588532175
pull/14991/head
Protobuf Team Bot 12 months ago committed by Copybara-Service
parent 69c75b4987
commit 7e247e7906
  1. 6
      src/google/protobuf/wire_format_unittest.cc

@ -11,11 +11,15 @@
#include "google/protobuf/wire_format.h"
#include <cstddef>
#include <cstdint>
#include <string>
#include "google/protobuf/unittest.pb.h"
#include "google/protobuf/unittest_mset.pb.h"
#include "google/protobuf/unittest_mset_wire_format.pb.h"
#include "google/protobuf/unittest_proto3_arena.pb.h"
#include <gmock/gmock.h>
#include "google/protobuf/wire_format_lite.h"
#include <gtest/gtest.h>
#define UNITTEST ::protobuf_unittest

Loading…
Cancel
Save