[protobuf] Protobuf arena, perfomance

2018-04-06 Thread sazonchg
Hello, everybody. I would like to detail some moments about protobuf arena. In my project there is a structure with ~100 fields. I compared elapsed time for parse and serialize methods with arena and without it. 1.Arena: google::protobuf::Arena arena; ProtoStruct message = google::protob

Re: [protobuf] Protobuf arena, perfomance

2018-04-06 Thread 'Feng Xiao' via Protocol Buffers
On Fri, Apr 6, 2018 at 5:02 AM wrote: > Hello, everybody. > I would like to detail some moments about protobuf arena. > In my project there is a structure with ~100 fields. > I compared elapsed time for parse and serialize methods with arena and > without it. > > 1.Arena: > > google::protobu