Skip to content

deps: switch to chromium's zlib implementation

Rodrigo Muino Tomonari requested to merge github/fork/mscdex/zlib-simd into master

This implementation provides optimizations not included upstream.

Benchmark results:

                                                                         confidence improvement accuracy (*)    (**)   (***)
 zlib/createInflate.js n=100 chunkLen=1024 inputLen=16777216                   ***    328.08 %       ±9.21% ±12.28% ±16.05%
 zlib/deflate.js n=400000 inputLen=1024 method='createDeflate'                 ***     18.85 %       ±1.01%  ±1.35%  ±1.75%
 zlib/deflate.js n=400000 inputLen=1024 method='deflate'                         *      1.14 %       ±1.13%  ±1.51%  ±1.96%
 zlib/deflate.js n=400000 inputLen=1024 method='deflateSync'                     *      0.55 %       ±0.50%  ±0.66%  ±0.86%
 zlib/inflate.js n=400000 inputLen=1024 method='inflate'                       ***      6.05 %       ±1.33%  ±1.78%  ±2.34%
 zlib/inflate.js n=400000 inputLen=1024 method='inflateSync'                   ***     17.64 %       ±1.07%  ±1.43%  ±1.86%
 zlib/pipe.js algorithm='gzip' type='buffer' duration=5 inputLen=1024          ***     17.52 %       ±0.96%  ±1.28%  ±1.67%
 zlib/pipe.js algorithm='gzip' type='string' duration=5 inputLen=1024          ***     16.19 %       ±1.02%  ±1.36%  ±1.78%
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading