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)
| Runtime | Avg Speedup | Best Case | Worst Case | Benchmarks |
|---|
| node | 1.00x | 1.00x | 1.00x | 2390 |
| deno | 0.97x | 3.66x | 0.19x | 2390 |
| bun | 1.03x | 7.27x | 0.06x | 2390 |
By Category
| Category | node avg | deno avg | bun avg |
|---|
| creation | 1.00x | 1.07x | 1.19x |
| arithmetic | 1.00x | 0.98x | 1.21x |
| math | 1.00x | 1.01x | 1.11x |
| trig | 1.00x | 1.01x | 1.23x |
| gradient | 1.00x | 0.96x | 1.13x |
| linalg | 1.00x | 0.94x | 1.00x |
| reductions | 1.00x | 0.91x | 0.81x |
| manipulation | 1.00x | 1.04x | 0.89x |
| io | 1.00x | 0.89x | 1.27x |
| indexing | 1.00x | 1.03x | 1.04x |
| bitwise | 1.00x | 0.98x | 1.20x |
| sorting | 1.00x | 0.87x | 0.92x |
| logic | 1.00x | 0.91x | 1.31x |
| statistics | 1.00x | 0.85x | 0.57x |
| sets | 1.00x | 1.05x | 1.25x |
| random | 1.00x | 0.96x | 1.07x |
| polynomials | 1.00x | 1.04x | 0.88x |
| fft | 1.00x | 0.90x | 0.79x |