mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
Major improvements to benchmark accuracy and fairness: **Connection Pooling:** - MySQL2: 100 connection pool with proper timeouts - Rust SQLx: MySqlPoolOptions with 100 max connections - Go: SetMaxOpenConns(100) with connection lifecycle management **True Concurrency:** - All 100,000 queries fired simultaneously (not batched) - JavaScript: Promise.all() with all queries - Rust: tokio::spawn() tasks for each query - Go: goroutines with WaitGroup synchronization **Results Ready:** - Benchmarks now run successfully with proper pooling - MySQL max_connections increased to 1000 for high concurrency - All runtimes complete 100k concurrent queries successfully - Generated comprehensive performance comparison table This provides the definitive, fair comparison across all runtimes! 🔥 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
npm install
bun run ffi
bun run log
bun run gzip
bun run async
bun run sqlite
# to use custom version of bun/deno/node binary
BUN=path/to/bun bun run ffi
# or edit .env file