Skip to content

Instantly share code, notes, and snippets.

@RemRyahirev
Last active September 20, 2026 03:17
Show Gist options
  • Select an option

  • Save RemRyahirev/bde6a4c4930c19a963199fa0bea2b265 to your computer and use it in GitHub Desktop.

Select an option

Save RemRyahirev/bde6a4c4930c19a963199fa0bea2b265 to your computer and use it in GitHub Desktop.
{
"date": "2026-09-20T03:17:57.025Z",
"machine": {
"cpu": "x86_64",
"ram": "16 GB",
"os": "Linux 6.17.0-1022-azure",
"bunVersion": "1.4.2",
"nodeVersion": "v24.20.0"
},
"settings": "50 connections, 10s duration",
"http": [
{
"name": "Elysia",
"reqPerSec": 53265.19,
"avgLatency": "0.94ms",
"maxLatency": "5.15ms",
"p99Latency": "1.85ms",
"p95Latency": "1.29ms",
"throughput": "12.04MB/s"
},
{
"name": "Bun.serve (baseline)",
"reqPerSec": 51358.39,
"avgLatency": "0.97ms",
"maxLatency": "8.23ms",
"p99Latency": "1.97ms",
"p95Latency": "1.53ms",
"throughput": "10.92MB/s"
},
{
"name": "Hono",
"reqPerSec": 44692.46,
"avgLatency": "1.12ms",
"maxLatency": "8.21ms",
"p99Latency": "2.01ms",
"p95Latency": "1.28ms",
"throughput": "9.50MB/s"
},
{
"name": "OneBun",
"reqPerSec": 41136.73,
"avgLatency": "1.21ms",
"maxLatency": "8.36ms",
"p99Latency": "2.32ms",
"p95Latency": "1.35ms",
"throughput": "8.75MB/s"
},
{
"name": "NestJS + Fastify (Bun)",
"reqPerSec": 20768.61,
"avgLatency": "2.41ms",
"maxLatency": "19.74ms",
"p99Latency": "4.78ms",
"p95Latency": "3.30ms",
"throughput": "5.66MB/s"
},
{
"name": "NestJS + Fastify (Node)",
"reqPerSec": 15931.11,
"avgLatency": "3.14ms",
"maxLatency": "185.50ms",
"p99Latency": "6.31ms",
"p95Latency": "4.58ms",
"throughput": "4.34MB/s"
}
],
"startup": [
{
"name": "Bun.serve (baseline)",
"meanMs": 7,
"minMs": 7,
"maxMs": 7
},
{
"name": "OneBun",
"meanMs": 446,
"minMs": 441,
"maxMs": 453
},
{
"name": "Hono",
"meanMs": 14,
"minMs": 14,
"maxMs": 15
},
{
"name": "Elysia",
"meanMs": 53,
"minMs": 53,
"maxMs": 54
},
{
"name": "NestJS + Fastify (Bun)",
"meanMs": 294,
"minMs": 291,
"maxMs": 301
},
{
"name": "NestJS + Fastify (Node)",
"meanMs": 343,
"minMs": 337,
"maxMs": 354
}
],
"realistic": [
{
"name": "NestJS + TypeORM (Node)",
"endpoints": [
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2937.02,
"avgLatency": "17.01ms",
"maxLatency": "458.75ms",
"p99Latency": "29.35ms",
"p95Latency": "18.53ms",
"throughput": "3.80MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 2714.11,
"avgLatency": "18.40ms",
"maxLatency": "596.40ms",
"p99Latency": "33.26ms",
"p95Latency": "22.52ms",
"throughput": "1.60MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 2507.96,
"avgLatency": "19.91ms",
"maxLatency": "701.50ms",
"p99Latency": "35.11ms",
"p95Latency": "23.29ms",
"throughput": "19.18MB/s"
}
]
},
{
"name": "NestJS + Fastify (Bun)",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 3928.77,
"avgLatency": "12.72ms",
"maxLatency": "39.59ms",
"p99Latency": "22.64ms",
"p95Latency": "15.36ms",
"throughput": "30.11MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 4169.94,
"avgLatency": "11.98ms",
"maxLatency": "32.09ms",
"p99Latency": "19.15ms",
"p95Latency": "15.89ms",
"throughput": "2.45MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 3379.93,
"avgLatency": "14.78ms",
"maxLatency": "36.97ms",
"p99Latency": "18.75ms",
"p95Latency": "16.91ms",
"throughput": "4.31MB/s"
}
]
},
{
"name": "NestJS + Fastify (Node)",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 3476.01,
"avgLatency": "14.37ms",
"maxLatency": "557.43ms",
"p99Latency": "25.26ms",
"p95Latency": "16.43ms",
"throughput": "26.64MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 3527.79,
"avgLatency": "14.16ms",
"maxLatency": "450.31ms",
"p99Latency": "25.49ms",
"p95Latency": "20.02ms",
"throughput": "2.07MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2974.87,
"avgLatency": "16.79ms",
"maxLatency": "480.32ms",
"p99Latency": "29.98ms",
"p95Latency": "18.99ms",
"throughput": "3.79MB/s"
}
]
},
{
"name": "OneBun",
"endpoints": [
{
"endpoint": "POST /api/posts",
"reqPerSec": 6230.52,
"avgLatency": "8.02ms",
"maxLatency": "24.61ms",
"p99Latency": "15.02ms",
"p95Latency": "11.36ms",
"throughput": "3.41MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 4566.2,
"avgLatency": "10.94ms",
"maxLatency": "32.53ms",
"p99Latency": "20.01ms",
"p95Latency": "13.21ms",
"throughput": "5.66MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 4786.68,
"avgLatency": "10.44ms",
"maxLatency": "32.13ms",
"p99Latency": "20.68ms",
"p95Latency": "12.31ms",
"throughput": "36.50MB/s"
}
]
}
],
"realisticPg": [
{
"name": "NestJS + Fastify (Node)",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 9881.9,
"avgLatency": "5.06ms",
"maxLatency": "262.21ms",
"p99Latency": "10.03ms",
"p95Latency": "6.54ms",
"throughput": "62.91MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 1518.41,
"avgLatency": "32.89ms",
"maxLatency": "187.39ms",
"p99Latency": "45.27ms",
"p95Latency": "39.30ms",
"throughput": "1.83MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 3251.48,
"avgLatency": "15.37ms",
"maxLatency": "202.93ms",
"p99Latency": "21.55ms",
"p95Latency": "18.92ms",
"throughput": "1.91MB/s"
}
]
},
{
"name": "OneBun",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 12423.96,
"avgLatency": "4.02ms",
"maxLatency": "13.23ms",
"p99Latency": "7.45ms",
"p95Latency": "5.43ms",
"throughput": "79.37MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 5323.43,
"avgLatency": "9.39ms",
"maxLatency": "26.35ms",
"p99Latency": "15.02ms",
"p95Latency": "11.75ms",
"throughput": "2.92MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2836.08,
"avgLatency": "17.62ms",
"maxLatency": "69.70ms",
"p99Latency": "29.79ms",
"p95Latency": "22.65ms",
"throughput": "3.33MB/s"
}
]
},
{
"name": "NestJS + TypeORM (Node)",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 4393.29,
"avgLatency": "11.37ms",
"maxLatency": "398.37ms",
"p99Latency": "70.35ms",
"p95Latency": "40.90ms",
"throughput": "27.95MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 1940.12,
"avgLatency": "25.74ms",
"maxLatency": "158.24ms",
"p99Latency": "40.95ms",
"p95Latency": "32.14ms",
"throughput": "1.14MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 1024.15,
"avgLatency": "48.71ms",
"maxLatency": "270.89ms",
"p99Latency": "66.59ms",
"p95Latency": "56.69ms",
"throughput": "1.26MB/s"
}
]
},
{
"name": "NestJS + Fastify (Bun)",
"endpoints": [
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2658.13,
"avgLatency": "18.80ms",
"maxLatency": "78.66ms",
"p99Latency": "29.34ms",
"p95Latency": "23.57ms",
"throughput": "3.22MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 9856.67,
"avgLatency": "5.07ms",
"maxLatency": "21.84ms",
"p99Latency": "10.15ms",
"p95Latency": "6.84ms",
"throughput": "50.52MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 4281.33,
"avgLatency": "11.68ms",
"maxLatency": "38.20ms",
"p99Latency": "18.41ms",
"p95Latency": "14.18ms",
"throughput": "2.52MB/s"
}
]
},
{
"name": "OneBun (full observability)",
"endpoints": [
{
"endpoint": "POST /api/posts",
"reqPerSec": 4730.05,
"avgLatency": "10.57ms",
"maxLatency": "26.65ms",
"p99Latency": "16.74ms",
"p95Latency": "12.90ms",
"throughput": "2.59MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 9722.86,
"avgLatency": "5.14ms",
"maxLatency": "18.21ms",
"p99Latency": "10.10ms",
"p95Latency": "6.84ms",
"throughput": "49.50MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2650.71,
"avgLatency": "18.85ms",
"maxLatency": "77.96ms",
"p99Latency": "31.75ms",
"p95Latency": "23.80ms",
"throughput": "3.11MB/s"
}
]
}
]
}
{"label":"tests","message":"4742 passed","schemaVersion":1,"color":"brightgreen"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment