Skip to main content
numpy-ts runs on Node.js, Deno, and Bun (and more). This page compares runtime performance head-to-head, with Node.js as the baseline.
All benchmarks measure computation time from JS and Python, respectively. To learn more, check out benchmark methodology.

Runtime Comparison Summary

Baseline: Node.js. Machine: Apple M4 Max (16 cores, 128 GB, arm64)

Overall (vs Node.js)

RuntimeAvg SpeedupBest CaseWorst CaseBenchmarks
node1.00x1.00x1.00x2390
deno0.97x1.90x0.27x2390
bun1.08x6.85x0.06x2390

By Category

Categorynode avgdeno avgbun avg
creation1.00x1.05x1.36x
arithmetic1.00x0.98x1.21x
math1.00x1.03x1.05x
trig1.00x0.99x1.05x
gradient1.00x0.98x1.13x
linalg1.00x0.94x1.09x
reductions1.00x0.91x0.88x
manipulation1.00x1.05x0.93x
io1.00x0.90x1.38x
indexing1.00x1.02x1.22x
bitwise1.00x0.96x1.31x
sorting1.00x0.87x0.93x
logic1.00x0.92x1.31x
statistics1.00x0.90x0.59x
sets1.00x1.06x1.66x
random1.00x0.96x1.07x
polynomials1.00x1.03x1.76x
fft1.00x0.92x0.83x