Hi Tony,

Thank you for the clarification! 

Do you have any recommendations or best practices for improving 
serialization/deserialization performance specifically for Protobuf in C++? 
I'd appreciate any insights or optimizations you or anyone can suggest.

Best regards,  
Evan

On Monday, September 9, 2024 at 1:52:01 PM UTC-7 Tony Liao wrote:

> 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/3c53e7ac-abc5-434a-bcf0-7ea1c8e44dc7n%40googlegroups.com.

Reply via email to