From 7e247e7906b6de82aa812a02e5422a954d14ebfa Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Wed, 6 Dec 2023 13:48:24 -0800 Subject: [PATCH] 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 --- src/google/protobuf/wire_format_unittest.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/google/protobuf/wire_format_unittest.cc b/src/google/protobuf/wire_format_unittest.cc index 0fc1fe5fa2..835a8edfac 100644 --- a/src/google/protobuf/wire_format_unittest.cc +++ b/src/google/protobuf/wire_format_unittest.cc @@ -11,11 +11,15 @@ #include "google/protobuf/wire_format.h" +#include +#include +#include + #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 +#include "google/protobuf/wire_format_lite.h" #include #define UNITTEST ::protobuf_unittest