Dev Tools · 1h ago
Bun beats Node.js in JSON-heavy API benchmark, p99 drops from 40ms to 12ms
A developer benchmarked Bun vs Node.js on a read-heavy video metadata API that serializes 55KB JSON per request. Node.js p99 latency was 40ms, with 38ms spent in runtime overhead. Bun achieved 12ms p99, cutting runtime overhead by 70%.
Meridian48 take
The benchmark is narrow — no external calls, no auth — but the 3x latency improvement suggests Bun's runtime design genuinely reduces GC and serialization overhead for JSON-heavy workloads.
Read the full reporting
Benchmarking Bun and Node.js for a High-Throughput Video Metadata API →
DEV Community
bunnodejs