Summary
I'm benchmarking a data pipeline, measuring ros msg -> protobuf msg (Decode), protobuf -> zstd compressed (Compress), zstd compressed -> protobuf (Decompress). I found backports.zstd==1.3.0 decompression is much slower (than zstd==1.5.7.2). You may need to investigate.
backports.zstd
if sys.version_info >= (3, 14):
from compression import zstd
else:
from backports import zstd
zstd
if sys.version_info >= (3, 14):
from compression import zstd
else:
import zstd
Platform
Linux 5.15.0-60-generic x86_64 GNU/Linux
Python version
Python 3.10.19
Library version
1.3.0
Installation method
No response
Summary
I'm benchmarking a data pipeline, measuring
ros msg -> protobuf msg(Decode),protobuf -> zstd compressed(Compress),zstd compressed -> protobuf(Decompress). I foundbackports.zstd==1.3.0 decompression is much slower (than zstd==1.5.7.2). You may need to investigate.backports.zstd
zstd
Platform
Linux 5.15.0-60-generic x86_64 GNU/Linux
Python version
Python 3.10.19
Library version
1.3.0
Installation method
No response