← back to index

wasthon — zlib bench: wasthon vs Brython native

All measurements run from inside Brython.
wasthon = _zlib wired to madler/zlib 1.3.1 via WebAssembly.
Brython native = Lib/zlib.py (Python-level deflate/inflate with _zlib_utils.js helpers for the hot inner loops).

Compress

Payload wasthon ms/call Brython ms/call Speedup wasthon MB/s Brython MB/s Output size match

Decompress

Payload (uncomp) wasthon ms/call Brython ms/call Speedup wasthon MB/s Brython MB/s Round-trip OK

Log