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
deno1.00x3.45x0.18x2390
bun1.03x6.48x0.05x2390

By Category

Categorynode avgdeno avgbun avg
creation1.00x1.08x1.20x
arithmetic1.00x1.02x1.24x
math1.00x1.04x1.09x
trig1.00x1.03x1.23x
gradient1.00x1.03x1.22x
linalg1.00x0.96x0.95x
reductions1.00x0.96x0.84x
manipulation1.00x1.04x0.90x
io1.00x0.91x1.24x
indexing1.00x1.03x1.02x
bitwise1.00x1.02x1.32x
sorting1.00x0.87x0.90x
logic1.00x0.98x1.14x
statistics1.00x0.86x0.56x
sets1.00x1.05x1.51x
random1.00x0.99x1.06x
polynomials1.00x1.07x1.02x
fft1.00x0.94x0.72x