Hi Evan, The protobuf C++ implementation is separate from UPB and has its own set of optimizations driven by Google's own workloads.
I can say that for Google's C++ workloads, we have not observed better performance with UPB. For this reason, we are still shipping with the native implementation for C++. -Tony On Friday, September 6, 2024 at 7:08:09 PM UTC-4 [email protected] wrote: > Hi everyone, > > We're currently using Protobuf 3.14 with C++ and Python in our project and > are looking to improve serialization/deserialization performance. I > recently tried Protobuf 3.24 and noticed performance improvements in > Python, likely due to the use of UPB. > > I have a couple of questions: > > 1. Does UPB also provide performance improvements for C++? > 2. If so, in which version of Protobuf was UPB introduced for C++? > > Thanks in advance for your help! > > Best regards, > Evan > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/a560344a-1ef6-449f-b17e-d92d16dcf09an%40googlegroups.com.
