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

Add zlib-ng #15

Open
mathomp4 opened this issue May 12, 2021 · 1 comment · May be fixed by #75
Open

Add zlib-ng #15

mathomp4 opened this issue May 12, 2021 · 1 comment · May be fixed by #75
Assignees
Labels
enhancement New feature or request new library Add a new library

Comments

@mathomp4
Copy link
Member

Per a note on HDF5, zlib-ng seems to be faster than "old" zlib. Per a note:

I have done some quick serial comparisons between “normal” zlib and zlib-ng and I get anywhere from 50% faster to 80% faster (1/2 to 1/5 the runtime) with zlib-ng. Again, not rigourous in anyway just some quick tests on some medium to very large files.

@mathomp4 mathomp4 added the enhancement New feature or request label May 12, 2021
@mathomp4 mathomp4 self-assigned this May 12, 2021
@mathomp4
Copy link
Member Author

So, I did some tests on discover with a test Baselibs using zlib-ng.

  1. Everything I see shows that GEOS is zero-diff using zlib-ng compare to "old" zlib.
  2. I do not see any slowdown when using deflation in GEOS, though that is hard to quantify in someways since IOServer "hides" a lot of that due to async
  3. It looks like zlib-ng is faster in testing with ncks. I did some test runs with ncks -L where ncks was linked to old or new zlib:
Compression Level zlib (sec) zlib-ng (sec) Speedup
2 39.0 27.2 1.43x
5 59.4 34.6 1.72x
9 247.2 114.4 2.16x

@mathomp4 mathomp4 added the new library Add a new library label Nov 3, 2022
@mathomp4 mathomp4 linked a pull request Nov 4, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new library Add a new library
Projects
None yet
1 participant