Repository navigation
Benchmarks
YadeWira edited this page Oct 18, 2026
·
17 revisions
- silesia.tar (211,957,760 bytes), in memory, the whole file as one block.
- One thread, pinned with
taskset -c 9, Xeon E5-2697A v4 (Broadwell, 2.6 GHz). - Speeds are the best of repeated runs over at least 2–3 s, MB = 10^6 bytes, on the input size (as lzbench).
- Competitors: lzbench 2.4.1 built with GCC 14.2, on the same core in the same session.
- The machine is shared: runs vary by up to ~10%.
taskset -c 9 out/sylzbench -l 1,9 -t 3 silesia.tar
SYLZ_NOASM=1 taskset -c 9 out/sylzbench -l 1,9 -t 3 silesia.tar # Pascal paths only| codec | compress | decompress | ratio |
|---|---|---|---|
| lz4 1.10.0 | 515 MB/s | 3105 MB/s | 47.59% |
| lz4 --fast -4 | 613 MB/s | 3169 MB/s | 51.45% |
| misa77 0.6.0 --1 | 260 MB/s | 3746 MB/s | 46.74% |
| misa77 0.6.0 -0 | 157 MB/s | 3907 MB/s | 44.60% |
| misa77 0.6.0 -1 | 50.4 MB/s | 4101 MB/s | 42.64% |
| lizard 2.1 -10 | 433 MB/s | 2965 MB/s | 48.78% |
| zstd 1.5.7 -1 | 345 MB/s | 1135 MB/s | 34.53% |
| zstd 1.5.7 --fast=1 | 397 MB/s | 1405 MB/s | 41.01% |
| sylz -1 | 402 MB/s | 2930 MB/s | 44.62% |
| sylz -2 | 76 MB/s | 2930 MB/s | 41.05% |
| sylz -9 | 22.5 MB/s | 3150 MB/s | 36.88% |
| codec | compress | decompress | ratio |
|---|---|---|---|
| lz4hc -9 | 27.9 MB/s | 2977 MB/s | 36.75% |
| lz4hc -12 | 8.98 MB/s | 2889 MB/s | 36.45% |
| misa77 -3 | 10.3 MB/s | 3517 MB/s | 37.76% |
| lizard -19 | 3.61 MB/s | 2720 MB/s | 36.52% |
| compress | decompress | |
|---|---|---|
| level 1, x86-64 assembler | 402 MB/s | 2930 MB/s |
| level 1, Pascal | 262 MB/s | 2303 MB/s |
| level 9, assembler decoder | — | 3150 MB/s |
| level 9, Pascal | — | 2456 MB/s |
| entries | compress | ratio |
|---|---|---|
| 2^12 | 281 MB/s | 47.70% |
| 2^13 | 264 MB/s | 45.78% |
| 2^14 (used) | 236 MB/s | 44.69% |
| 2^15 | 207 MB/s | 44.08% |
| 2^16 | 194 MB/s | 43.74% |
(Pascal compressor, before the assembler.) At lz4's table size the ratio matches lz4's.
v0: 830 MB/s (pointers on the stack) → 2031 (call-free fast loop) → 2095 (smaller live set). v1: 1834 (lengths passed by var) → 2210 (extensions inline) → 2458 (limits in a record) → 3100 (assembler) → 3150 (counted mode). What each step means: Free Pascal codegen notes.