Skip to main content
Benchmark snapshot comparing numpy-ts against native Python NumPy (OpenBLAS-backed) across small, medium, and large array sizes. Run your own via pnpm run bench.
All benchmarks measure computation time from JS and Python, respectively. To learn more, check out benchmark methodology.

Benchmark Summary

  • Average speedup: 1.25x vs NumPy
  • Best case: 2363.88x
  • Worst case: 0.10x
  • Total benchmarks: 7159
  • Machine: Apple M4 Max (16 cores, 128 GB, arm64)
  • numpy-ts version: 1.5.0

Performance by Category

Performance by DType