NumPy in the browser gets a 30x speedup with OpenBLAS

Faster NumPy in the Browser

NumPy in the browser gets a 30x speedup with OpenBLAS

Running NumPy in the browser used to mean slow, unaccelerated matrix math. Now, thanks to Emscripten-forge linking OpenBLAS in WebAssembly, np.matmul at n=1024 is about 30.92x faster for float32 and 14.90x for float64. The upcoming OpenBLAS 0.3.35, with WASM SIMD kernels from QuantStack, pushes performance further, and an optional Relaxed SIMD build adds another boost on supported engines.

The last mile of a long road: faster NumPy in the browser.

More from this day

2026-09-20