⚡
Bun vs Node.js Benchmark
Compare Bun and Node.js performance side-by-side. See why developers are switching to Bun.
Benchmark Code
1 million iterations with arithmetic operations
How to Use
- Select a benchmark template from the dropdown (Loop, JSON, Array operations, etc.)
- Or modify the code to test your own JavaScript snippets
- Click "Run Benchmark" to see the simulated performance comparison
- View the results showing execution time and memory usage for both runtimes
- Share results or copy them to share with your team
About Bun
Bun is a fast all-in-one JavaScript runtime designed for speed. It includes a bundler, transpiler, package manager, and test runner - all built into one tool.
Bun uses JavaScriptCore (the engine behind Safari) instead of V8, and is written in Zig for maximum performance. It aims to be a drop-in replacement for Node.js while being significantly faster.
Features
- ✓Multiple benchmark templates
- ✓Custom code testing
- ✓Execution time comparison
- ✓Memory usage comparison
- ✓Visual bar charts
- ✓Detailed results table
- ✓Shareable results
- ✓Copy results to clipboard