I'm doing the same when compressing HTML, I prefer to have a huge HTML concatenation of all the files.SLZ - included in TurboBench (only github)
The pages (length + content) are concatenated into a single html8 file, but compressed/decompressed separately.
compress: page1,page2,...pageN
decompress : Page1,page2,...pageN
This avoids the cache effects like in other benchmarks, where small files are processed repeatedly in the L1/L2 cache,
showing unrealistic results.
Just for info (so that it helps with your benchmarks' accuarcy), the ODROID C2 lies, it claims to run at 2016 MHz while it's capped at 1536. Just rerun the same tests at 1536, 1704 and 2016 and you'll get exactly the same performance. I thought I found the cheating code in the kernel but there is another place I have not yet found.Hardware: ODROID C2 - ARM 64 bits - 2Ghz CPU, OS: Ubuntu 16.04, gcc 5.3
Thanks for the results. In fact here brotli's memory usage is a showstopper for me.Compression speed slz vs. zlib:
- 2,65x faster on intel i7
- 1,65x faster on ARM
- "brotli 1" can also be an alternative (but memory usage is high)