Skip to content

Decompression speed is slow #70

@district10

Description

@district10

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
Image

zstd

if sys.version_info >= (3, 14):
    from compression import zstd
else:
    import zstd
Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions