okio
okio copied to clipboard
WIP: compress benchmark
Benchmark (sampleDataSize) Mode Cnt Score Error Units
ZstdImplementationBenchmark.lubenCompress 8388608 avgt 3 14.237 ± 10.332 ms/op
ZstdImplementationBenchmark.lubenDecompress 8388608 avgt 3 4.338 ± 3.174 ms/op
ZstdImplementationBenchmark.okioCompress 8388608 avgt 3 13.639 ± 1.751 ms/op
ZstdImplementationBenchmark.okioDecompress 8388608 avgt 3 4.441 ± 0.432 ms/op
Is this going to get way better with a dictionary in place?
https://github.com/facebook/zstd.git
I guess that is coming later? https://datatracker.ietf.org/doc/html/rfc8878#name-use-of-dictionaries
Yep, I like dictionaries. Especially for smaller documents. Nothing to do yet though.