You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm fiddling a bit with brotli compression and compare the size of the compressed files from this library with https://www.npmjs.com/package/brotli
The compressed files with brotli are sometimes much smaller. I'm wondering if there are options I can set with wasm-brotli?
My best guess at the moment is like you said, probably the default settings don't compress as well as the other programs you listed. For now, let's track the issue of options on #3.
Let's leave this open for trying to create benchmarks for size as a part of the tests for the module.
Hi
I'm fiddling a bit with brotli compression and compare the size of the compressed files from this library with https://www.npmjs.com/package/brotli
The compressed files with brotli are sometimes much smaller. I'm wondering if there are options I can set with wasm-brotli?
Testfile: https://bayden.com/dl/brotli.exe
Uncompressed: 780'536 bytes
wasm-brotli: 351'404 bytes
brotli: 297'835 bytes ({ mode: 1, quality: 11, lgwin: 22 })
brotli.exe: 297'789 bytes (default settings)
Testfile: index.html
Uncompressed: 179 bytes
wasm-brotli: 118 bytes
brotli: 110 bytes
brotli.exe: 110 bytes
Contents of index.html test file
The text was updated successfully, but these errors were encountered: