erse

Benchmarks you can rerun

Six files of free public market data, five tools, every number below written by one script. Download the same files, run the same script, and you should get the same sizes to the byte.

Run on 2026-11-29 on an 8-core ARM machine with 16 GB of memory. Terse was the pre-release build of 29 November 2026; zstd 1.5.7, xz 5.8.4, pcodec 1.0.3 with pyarrow 23.0.1. One run per row. Every Terse, zstd and xz result was unpacked and compared with the original by SHA-256.

Speeds and memory are being re-measured on a dedicated test machine before launch. Read the values shown as rough. Sizes are exact for that build.

Tools and settings

Each tool runs in a fresh process for every file.
ToolExact settings
Terse, maxterse pack --level max, 2 threads
Terse, fastterse pack --level fast, 2 threads
Terse, max, 8 threadsterse pack --level max, 8 threads
zstd -19zstd -19 -T1 (1.5.7)
xz -9exz -9e -T1 (5.8.4)
pcodec per columnpcodec 1.0.3 default level, one chunk per numeric column in file order, other columns as one zstd -19 Arrow IPC blob

pcodec per column is a size reference, not a file compressor: it stores the parsed numbers exactly but does not rebuild the CSV text, so it cannot give you your file back. It is here because it is the strongest free tool for columns of numbers.

Results, file by file

Deribit BTC-PERPETUAL trades, one day, 1 Nov 2026

191,555 rows, 15,728,435 bytes of CSV. Source: Tardis.dev free first-of-month sample. Terse at max is 2.38× smaller than xz -9e, the closest other tool.

Terse, max429.1 KB 36.7×Terse, fast429.1 KB 36.7×zstd -191.22 MB 12.9×xz -9e1.02 MB 15.4×pcodec per column1.06 MB 14.8×

Bars are packed size on a linear scale; the longest is the largest output. The CSV would be 12.9 times that bar.

Sizes in bytes; ratio is CSV bytes divided by packed bytes; speeds in MB (106 bytes) of CSV per second; peak memory in MB while packing / reading.
ToolBytesRatioPack MB/sRead MB/sPeak MBThreadsExactness
Terse, max429,05736.7×7.214.6308 / 2372byte-exact
Terse, fast429,05736.7×8.715.8308 / 2372byte-exact
zstd -191,219,56512.9×3.1622.6105 / 131byte-exact
xz -9e1,019,28415.4×2.6117.8151 / 181byte-exact
pcodec per column1,064,83614.8×18.5123.6269 / 681values exact, text not rebuilt

Bybit BTCUSDT trades, one day, 1 Nov 2026

360,227 rows, 46,151,978 bytes of CSV. Source: Bybit public trade archive. Terse at max is 1.72× smaller than xz -9e, the closest other tool.

Terse, max6.02 MB 7.66×Terse, fast6.02 MB 7.66×zstd -1911.02 MB 4.19×xz -9e10.37 MB 4.45×pcodec per column11.16 MB 4.14×

Bars are packed size on a linear scale; the longest is the largest output. The CSV would be 4.1 times that bar.

Sizes in bytes; ratio is CSV bytes divided by packed bytes; speeds in MB (106 bytes) of CSV per second; peak memory in MB while packing / reading.
ToolBytesRatioPack MB/sRead MB/sPeak MBThreadsExactness
Terse, max6,022,4257.66×7.819.0613 / 4622byte-exact
Terse, fast6,022,4257.66×8.320.7613 / 4622byte-exact
zstd -1911,019,9664.19×2.0840.8143 / 131byte-exact
xz -9e10,371,8804.45×1.659.6439 / 481byte-exact
pcodec per column11,159,0944.14×4.0271.5357 / 1231values exact, text not rebuilt

Bybit ETHUSDT trades, one day, 1 Nov 2026

434,234 rows, 53,969,329 bytes of CSV. Source: Bybit public trade archive. Terse at max is 1.66× smaller than xz -9e, the closest other tool.

Terse, max7.18 MB 7.52×Terse, fast7.18 MB 7.52×zstd -1912.75 MB 4.23×xz -9e11.95 MB 4.52×pcodec per column12.81 MB 4.21×

Bars are packed size on a linear scale; the longest is the largest output. The CSV would be 4.2 times that bar.

Sizes in bytes; ratio is CSV bytes divided by packed bytes; speeds in MB (106 bytes) of CSV per second; peak memory in MB while packing / reading.
ToolBytesRatioPack MB/sRead MB/sPeak MBThreadsExactness
Terse, max7,181,3567.52×8.520.7682 / 4552byte-exact
Terse, fast7,181,3567.52×8.118.2682 / 4562byte-exact
zstd -1912,749,8724.23×2.0866.7150 / 131byte-exact
xz -9e11,949,9964.52×1.447.7510 / 561byte-exact
pcodec per column12,811,6874.21×3.3201.6373 / 1361values exact, text not rebuilt

Binance BTCUSDT futures aggTrades, one day, 1 Nov 2026

439,279 rows, 29,180,851 bytes of CSV. Source: data.binance.vision. Terse at max is 1.39× smaller than pcodec per column, the closest other tool.

Terse, max847.6 KB 34.4×Terse, fast847.6 KB 34.4×zstd -193.60 MB 8.11×xz -9e2.92 MB 9.98×pcodec per column1.18 MB 24.8×

Bars are packed size on a linear scale; the longest is the largest output. The CSV would be 8.1 times that bar.

Sizes in bytes; ratio is CSV bytes divided by packed bytes; speeds in MB (106 bytes) of CSV per second; peak memory in MB while packing / reading.
ToolBytesRatioPack MB/sRead MB/sPeak MBThreadsExactness
Terse, max847,58234.4×5.512.6613 / 5312byte-exact
Terse, fast847,58234.4×6.214.2613 / 5312byte-exact
zstd -193,599,0208.11×1.8738.0121 / 131byte-exact
xz -9e2,924,3889.98×0.652.0272 / 311byte-exact
pcodec per column1,179,06624.8×32.2118.9210 / 781values exact, text not rebuilt

Binance BTCUSDT 1-minute bars, October 2026

44,640 rows, 5,015,432 bytes of CSV. Source: data.binance.vision. Terse at max is 1.29× smaller than pcodec per column, the closest other tool.

Terse, max875.1 KB 5.73×Terse, fast875.1 KB 5.73×zstd -191.53 MB 3.27×xz -9e1.43 MB 3.50×pcodec per column1.12 MB 4.46×

Bars are packed size on a linear scale; the longest is the largest output. The CSV would be 3.3 times that bar.

Sizes in bytes; ratio is CSV bytes divided by packed bytes; speeds in MB (106 bytes) of CSV per second; peak memory in MB while packing / reading.
ToolBytesRatioPack MB/sRead MB/sPeak MBThreadsExactness
Terse, max875,1255.73×0.210.4775 / 1052byte-exact
Terse, fast875,1285.73×0.28.7771 / 1052byte-exact
zstd -191,533,8283.27×2.1254.895 / 91byte-exact
xz -9e1,430,9803.50×1.932.354 / 71byte-exact
pcodec per column1,124,9854.46×8.228.3122 / 571values exact, text not rebuilt

Bybit BTCUSDT order book updates, first 2 hours, 1 Nov 2026

1,971,595 rows, 139,762,360 bytes of CSV. Source: Bybit public order book archive (200-level snapshot+delta JSON). Terse at max is 3.34× smaller than xz -9e, the closest other tool.

Terse, max1.96 MB 71.4×Terse, fast2.17 MB 64.5×zstd -197.45 MB 18.8×xz -9e6.53 MB 21.4×pcodec per column8.93 MB 15.6×

Bars are packed size on a linear scale; the longest is the largest output. The CSV would be 15.6 times that bar.

Sizes in bytes; ratio is CSV bytes divided by packed bytes; speeds in MB (106 bytes) of CSV per second; peak memory in MB while packing / reading.
ToolBytesRatioPack MB/sRead MB/sPeak MBThreadsExactness
Terse, max1,956,65971.4×7.216.51435 / 10212byte-exact
Terse, fast2,167,41764.5×30.187.51600 / 12672byte-exact
Terse, max, 8 threads1,956,65971.4×7.817.21435 / 10218byte-exact
zstd -197,447,07318.8×2.0168.4224 / 131byte-exact
xz -9e6,533,54821.4×0.9153.3646 / 691byte-exact
pcodec per column8,933,46415.6×21.3399.2532 / 2001values exact, text not rebuilt

Rerun it yourself

The kit has three small scripts and a manifest that pins the address, size and SHA-256 of every download. It uses free public data only. Kit download: published with the first release.

python fetch.py          # about 146 MB of downloads; --quick for about 40 MB
python run.py            # writes results.json and a markdown table; --runs 3 for medians

How to read these numbers