> ## Documentation Index
> Fetch the complete documentation index at: https://numpyts.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Node.js, Deno & Bun

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.

> [!TIP]
>
> All benchmarks measure computation time from JS and Python, respectively. To learn more, check out [benchmark methodology](https://numpyts.dev/v1.7.x/performance/methodology.md).

Average Performance vs. Node.js by Category

▶
Benchmark Details

**Generated:**

**numpy-ts:**

## Detailed Results

Performance relative to Node.js. Over `1.00x` means faster than Node.js.

## 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 | 3513 |
| deno | 0.98x | 6.17x | 0.15x | 3513 |
| bun | 1.02x | 8.89x | 0.03x | 3513 |

### By Category

| Category | node avg | deno avg | bun avg |
| - | - | - | - |
| creation | 1.00x | 1.06x | 1.31x |
| arithmetic | 1.00x | 0.98x | 1.10x |
| math | 1.00x | 1.06x | 0.96x |
| trig | 1.00x | 1.00x | 1.01x |
| gradient | 1.00x | 0.96x | 0.82x |
| linalg | 1.00x | 0.95x | 0.91x |
| reductions | 1.00x | 0.91x | 0.86x |
| manipulation | 1.00x | 1.06x | 1.07x |
| io | 1.00x | 0.92x | 1.10x |
| indexing | 1.00x | 1.03x | 1.09x |
| bitwise | 1.00x | 0.99x | 1.25x |
| sorting | 1.00x | 0.90x | 0.92x |
| logic | 1.00x | 0.91x | 1.06x |
| statistics | 1.00x | 0.88x | 0.51x |
| sets | 1.00x | 1.01x | 1.14x |
| random | 1.00x | 0.96x | 1.06x |
| polynomials | 1.00x | 1.04x | 1.66x |
| fft | 1.00x | 0.91x | 0.75x |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.