3 ms·
Internet Scenario Benchmark (browser plugin simulation): html8 : 100MB random html pages from a 2GB Alexa Top sites corpus. number of pages = 1178 average len
by powturbo 11y ago
Internet Scenario Benchmark (browser plugin simulation):
html8 : 100MB random html pages from a 2GB Alexa Top sites corpus.
number of pages = 1178
average length = 84886 bytes.
The pages (length + content) are concatenated into a single html8 file, but compressed/decompressed separately.
This avoids the cache scenario like in other benchmarks, where small files are processed repeatedly in the L1/L2 cache, showing unrealistic results.
size: 100,000,000 bytes.
Single thread in memory benchmark
cpu: Sandy bridge i7-2600k at 4.2 Ghz, all with gcc 5.1, ubuntu 15.04
size ratio% C MB/s D MB/s MB=1.000.000
15180334 15.2 0.43 482.07 brotli 11 v0.2.0
15309122 15.3 2.27 127.23 lzma 9 v15.08
16541706 16.5 2.07 1463.39 lzturbo 39 v1.3
16921859 16.9 2.96 230.54 lzham 4 v1.0
17153795 17.2 0.13 474.63 zopfli v15-05
17860382 17.9 43.51 495.78 zlib 9 v1.2.8
18033576 18.0 135.62 1454.31 lzturbo 32 v1.3
100000000 100.0 5984.00 6043.00 libc memcpy
LzTurbo compress 5 times and decompress 3 times faster than brotli.
LzTurbo decompress more than 6 times faster than lzham