ECG Compression Benchmark

Verified browser-codec result for the bundled 500 Hz / 2 s sample
Lossless test
Samples1,000
Sampling rate500 Hz
Raw size3,000 B
Target≤1,000 B

Actual test result

The bundled file sample_ecg_500hz_2s.csv was run through the same compression/decompression logic used by the lab. Reconstruction was compared sample-by-sample against the original integer sequence.

CodecCompressedReductionExact reconstruction1 KB target
Delta + ZigZag Varint2,098 B30.1%PASSNOT MET
Delta-of-Delta + ZigZag Varint1,717 B42.8%PASSNOT MET

Compression ratio

The best of the two tested modes reduced the 3,000-byte raw representation to 1,717 bytes.

57.2% of the raw size remains  •  42.8% reduction  •  717 B above the 1,000 B target

What this tells us

← Back to Compression Lab Open Sample CSV