pushk

PUSHK Compression Benchmark

This repository contains benchmark results for compressing a structured binary data file using multiple popular compression algorithms and the experimental PUSHK pipeline in Resolution Drop (RDrop) mode.


📊 Benchmark: example7b_rdrop.bin


⚠️ Disclaimer

File Size (bytes) % of original Compression (%) Δ vs best (bytes)
example7b_rdrop.bin 399 100.00% 0.00% +72
example7b_rdrop.bin.bz2 493 123.56% -23.56% +166
example7b_rdrop.bin.arj 517 129.57% -29.57% +190
example7b_rdrop.bin.zip 528 132.33% -32.33% +201
example7b_rdrop.bin.gz 378 94.74% 5.26% +51
example7b_rdrop.bin.rar 457 114.54% -14.54% +130
example7b_rdrop.bin.xz 372 93.23% 6.77% +45
example7b_rdrop.bin.lzma 327 81.95% 18.05% 0
example7b_rdrop.bin.7z 462 115.79% -15.79% +135
example7b_rdrop.bin.pushk 333 83.46% 16.54% +6

📌 Notes


PUSHK Header Layout (16 bytes)

Offset Size Field Description
0 4 hdr File ID — 'PSHK'
4 1 mver Module version
5 1 sver Stream/compression version
6 1 opt1 Option flags 1
7 1 opt2 Option flags 2
8 4 fsize Original file size (bytes)
12 4 crc CRC32 checksum of original data

Header includes:


🧠 About PUSHK — Resolution Drop (RDrop) Mode

PUSHK is not a traditional compressor in the classical sense.

In RDrop mode, it applies a sophisticated preprocessing pipeline that:

This run specifically demonstrates the power of the RDrop technique on tile-like / gradient-heavy / packed binary data.


📂 Generated Files from This Run

Logs generated by PUSHK pre-filter:

Visualizations:

Optional:


⚖️ Key Insight

PUSHK does not just compress data — it deeply understands the internal structure and transforms it into a far more compressible representation.

The combination of Global Keys + Hierarchical Resolution Drop allows it to outperform general-purpose compressors on data with strong internal regularity.