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).
| Payload | wasthon ms/call | Brython ms/call | Speedup | wasthon MB/s | Brython MB/s | Output size match |
|---|
| Payload (uncomp) | wasthon ms/call | Brython ms/call | Speedup | wasthon MB/s | Brython MB/s | Round-trip OK |
|---|