-
Notifications
You must be signed in to change notification settings - Fork 18
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
Increase default buffer size #34
Conversation
Makes creating a tarball and compressing it with `zstdmt` about 6x faster (30s vs 5s). Raw `tar` is still about 20% faster, but we'd probably need #33 to make up the difference.
Codecov Report
@@ Coverage Diff @@
## master #34 +/- ##
==========================================
+ Coverage 92.65% 92.76% +0.11%
==========================================
Files 4 4
Lines 381 387 +6
==========================================
+ Hits 353 359 +6
Misses 28 28
Continue to review full report at Codecov.
|
Looks good to me. Perhaps the same treatment for |
Done, but performance is pretty impressively bad for extract. Almost 50s, vs
|
Also, this seems bad:
|
With JuliaLang/julia#35696 and this, the performance is acceptable. |
Nice! What is the extract performance for your example data after this? The macOS nightly failures are pretty concerning but don't seem related to this PR—did yesterday's PCRE upgrade perhaps break something? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad you could make this change easily enough. Hopefully it means that this is a pretty clear, understandable code base. Making modifications to GNU tar seems significantly more challenging 😬
Around one second for the extract benchmark from above, down from 50. I don't think my benchmark methodology is precise enough to say much more, but that makes it on par with GNU tar. |
I'll do a version bump with this PR included. |
Makes creating a tarball and compressing it with
zstdmt
about 6xfaster (30s vs 5s). Raw
tar
is still about 20% faster, but we'dprobably need #33 to make
up the difference.