Skip to main content
numpy-ts home page
v1.3.x
Search...
⌘K
Ask AI
dupontcyborg/numpy-ts
Search...
Navigation
Benchmarks
Node.js, Deno & Bun
Guides
API Reference
Performance
Examples
Playground
Introduction
Overview
Methodology
Benchmarks
vs. NumPy (Native)
vs. NumPy (Pyodide)
Size Scaling
Deno & Bun
Benchmarks
Node.js, Deno & Bun
Copy page
Copy page
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)
Runtime
Avg Speedup
Best Case
Worst Case
Benchmarks
node
1.00x
1.00x
1.00x
2390
deno
1.00x
3.45x
0.18x
2390
bun
1.03x
6.48x
0.05x
2390
By Category
Category
node avg
deno avg
bun avg
creation
1.00x
1.08x
1.20x
arithmetic
1.00x
1.02x
1.24x
math
1.00x
1.04x
1.09x
trig
1.00x
1.03x
1.23x
gradient
1.00x
1.03x
1.22x
linalg
1.00x
0.96x
0.95x
reductions
1.00x
0.96x
0.84x
manipulation
1.00x
1.04x
0.90x
io
1.00x
0.91x
1.24x
indexing
1.00x
1.03x
1.02x
bitwise
1.00x
1.02x
1.32x
sorting
1.00x
0.87x
0.90x
logic
1.00x
0.98x
1.14x
statistics
1.00x
0.86x
0.56x
sets
1.00x
1.05x
1.51x
random
1.00x
0.99x
1.06x
polynomials
1.00x
1.07x
1.02x
fft
1.00x
0.94x
0.72x
Size Scaling
⌘I
Assistant
Responses are generated using AI and may contain mistakes.