Re: [protobuf] Re: Python Protobuf Serialization Performance In 2023

2023-10-06 Thread 'Adam Cozzette' via Protocol Buffers
Starting with 4.21.0, the default Python implementation is now based on upb (see here ), and this should be faster than the older Python C++ implementation. Python-C++ is actually deprecated, and we are

[protobuf] Re: Python Protobuf Serialization Performance In 2023

2023-10-02 Thread 'Daniel Koohmarey' via Protocol Buffers
Note for anyone stumbling upon this thread in the future, leveraging cpp generated protobuf serialization that was pybound to python yielded a 5x+ improvement in serialization times over just PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp . On Tuesday, August 22, 2023 at 11:03:30 AM UTC-7 Daniel