Skip to main content

Documentation Index

Fetch the complete documentation index at: https://numpyts.dev/llms.txt

Use this file to discover all available pages before exploring further.

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.97x3.66x0.19x2390
bun1.03x7.27x0.06x2390

By Category

Categorynode avgdeno avgbun avg
creation1.00x1.07x1.19x
arithmetic1.00x0.98x1.21x
math1.00x1.01x1.11x
trig1.00x1.01x1.23x
gradient1.00x0.96x1.13x
linalg1.00x0.94x1.00x
reductions1.00x0.91x0.81x
manipulation1.00x1.04x0.89x
io1.00x0.89x1.27x
indexing1.00x1.03x1.04x
bitwise1.00x0.98x1.20x
sorting1.00x0.87x0.92x
logic1.00x0.91x1.31x
statistics1.00x0.85x0.57x
sets1.00x1.05x1.25x
random1.00x0.96x1.07x
polynomials1.00x1.04x0.88x
fft1.00x0.90x0.79x