-
Notifications
You must be signed in to change notification settings - Fork 13
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
Performance Tracking #1
Comments
Related thread: sstadick/gzp#11 |
Yeah, that's not unexpected. The good news is that if the change of backend makes a difference, that means we're not bottlenecked by parallelization overhead or by some single-threaded task. That's a good place to be. |
I wonder if the benchmarks in README should be re-run? |
Yes! Definitely worth updating. I'm tweaking some things in I also want to add an MVP of decompression as well. With that in place |
Preview: using passthrough single threaded mode when 0 or 1 threads is selected (just like pigz):
On the |
README updated with exhaustive benchmarks comparing different backends as well as a summary of the findings. The surprise to me is that the rust backend is a tad faster than zlib. |
|
It can, and I have benchmarked it. Crabz and bgzip have nearly identical performance. I didn't include anything other than pigz just because I don't intended for this to become a comprehensive benchmark suite. In the benchmarks script you can see how to run with bgzip. If you have ideas on how to present all the benchmark info in a tidy way that includes bgzip I'm open to PRs :) |
Hmmm. Not sure I am much help on the PRs, just thinking about performance things. So if I understand you correctly, |
There is also https://github.com/Piezoid/pugz , but it really does not seem to work well in my hands. |
Correct! For just compressing / decompressing bgzf format files I guess maybe adding a
|
@jelber2 I finally added some! https://github.com/sstadick/crabz#crabz-pigz-and-bgzip Also for what it's worth I ended up trying a bit harder to get pugz to work: https://twitter.com/ducktapeprogra1/status/1443723380436385792?s=20 tl;dr; it's not useful in its current state for bioinformatics mostly because it doesn't support bgzf formats. |
Note that some of the original benchmarks for the different backends are a bit out of date at this point and |
@Shnatsel I'm moving performance tracking for
crabz
related things to here.Run the same benchmarks as found here: https://github.com/zlib-ng/pigzbench with the different backends.
The
zlib-ng
benchmarks pretty clearly indicate thatzlib-ng
is the way to go as a backend, which matches what I see in benchmarks.zlib
and therust
backends forflate2
perform about the same.The text was updated successfully, but these errors were encountered: