Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare gzip decompressors #13

Open
3 tasks
newsch opened this issue Jul 3, 2023 · 1 comment
Open
3 tasks

Compare gzip decompressors #13

newsch opened this issue Jul 3, 2023 · 1 comment

Comments

@newsch
Copy link
Collaborator

newsch commented Jul 3, 2023

With more optimization it's likely that decompressing the gzip archives will be a bottleneck.
There are a number of "parallel" implementations for gzip, but all the ones I've looked at aren't actually useful for this case.

Steps:

  • Look for more implementations
  • Compare decompression rates
  • Compare with rust gzip crates

What I've looked at so far:

Implementation Notes
GNU gunzip Baseline
pigz Moves some decompression work to separate threads, mostly single-threaded
libdeflate Only for small files
pugz Hypothetically ideal, novel approach, but unstable and needs to load entire file into memory
pgzip (Python) Decompression only parallelized when compressed with same tool
pgzip (Golang) Decompression only does single-threaded work on a separate thread
@biodranik
Copy link
Member

Let's run it first in the current state and see real base numbers before prioritizing/digging deeper into any optimizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants