Skip to content

Instantly share code, notes, and snippets.

@RemRyahirev
Last active November 16, 2026 19:39
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-11-16T19:39:44.273Z",
"machine": {
"cpu": "x86_64",
"ram": "16 GB",
"os": "Linux 7.0.0-1019-azure",
"bunVersion": "1.4.4",
"nodeVersion": "v24.22.2"
},
"settings": "50 connections, 10s duration",
"http": [
{
"name": "Elysia",
"reqPerSec": 56226.36,
"avgLatency": "0.89ms",
"maxLatency": "5.99ms",
"p99Latency": "1.79ms",
"p95Latency": "1.18ms",
"throughput": "12.71MB/s"
},
{
"name": "Bun.serve (baseline)",
"reqPerSec": 55508.09,
"avgLatency": "0.90ms",
"maxLatency": "7.51ms",
"p99Latency": "1.80ms",
"p95Latency": "1.28ms",
"throughput": "11.80MB/s"
},
{
"name": "Hono",
"reqPerSec": 47105.73,
"avgLatency": "1.06ms",
"maxLatency": "4.92ms",
"p99Latency": "2.10ms",
"p95Latency": "1.26ms",
"throughput": "10.02MB/s"
},
{
"name": "OneBun",
"reqPerSec": 45062.14,
"avgLatency": "1.11ms",
"maxLatency": "7.33ms",
"p99Latency": "2.30ms",
"p95Latency": "1.31ms",
"throughput": "9.58MB/s"
},
{
"name": "NestJS + Fastify (Bun)",
"reqPerSec": 24026.53,
"avgLatency": "2.08ms",
"maxLatency": "20.29ms",
"p99Latency": "4.43ms",
"p95Latency": "3.12ms",
"throughput": "6.55MB/s"
},
{
"name": "NestJS + Fastify (Node)",
"reqPerSec": 18311.45,
"avgLatency": "2.73ms",
"maxLatency": "187.71ms",
"p99Latency": "5.26ms",
"p95Latency": "3.84ms",
"throughput": "4.99MB/s"
}
],
"startup": [
{
"name": "Bun.serve (baseline)",
"meanMs": 9,
"minMs": 9,
"maxMs": 10
},
{
"name": "OneBun",
"meanMs": 426,
"minMs": 412,
"maxMs": 438
},
{
"name": "Hono",
"meanMs": 16,
"minMs": 16,
"maxMs": 17
},
{
"name": "Elysia",
"meanMs": 53,
"minMs": 52,
"maxMs": 59
},
{
"name": "NestJS + Fastify (Bun)",
"meanMs": 278,
"minMs": 274,
"maxMs": 289
},
{
"name": "NestJS + Fastify (Node)",
"meanMs": 334,
"minMs": 329,
"maxMs": 340
}
],
"realistic": [
{
"name": "NestJS + Fastify (Bun)",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 4239.23,
"avgLatency": "11.79ms",
"maxLatency": "41.04ms",
"p99Latency": "21.54ms",
"p95Latency": "14.46ms",
"throughput": "32.48MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 4445.26,
"avgLatency": "11.24ms",
"maxLatency": "32.48ms",
"p99Latency": "20.40ms",
"p95Latency": "15.09ms",
"throughput": "2.61MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 3643.64,
"avgLatency": "13.71ms",
"maxLatency": "38.34ms",
"p99Latency": "23.96ms",
"p95Latency": "15.43ms",
"throughput": "4.64MB/s"
}
]
},
{
"name": "NestJS + Fastify (Node)",
"endpoints": [
{
"endpoint": "POST /api/posts",
"reqPerSec": 3515.29,
"avgLatency": "14.21ms",
"maxLatency": "429.21ms",
"p99Latency": "24.63ms",
"p95Latency": "20.04ms",
"throughput": "2.07MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 3546.42,
"avgLatency": "14.09ms",
"maxLatency": "512.27ms",
"p99Latency": "24.11ms",
"p95Latency": "16.28ms",
"throughput": "27.17MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2964.17,
"avgLatency": "16.85ms",
"maxLatency": "497.21ms",
"p99Latency": "28.89ms",
"p95Latency": "19.14ms",
"throughput": "3.78MB/s"
}
]
},
{
"name": "OneBun",
"endpoints": [
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 4717.76,
"avgLatency": "10.59ms",
"maxLatency": "30.18ms",
"p99Latency": "20.73ms",
"p95Latency": "12.52ms",
"throughput": "5.84MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 6435.56,
"avgLatency": "7.76ms",
"maxLatency": "24.18ms",
"p99Latency": "14.83ms",
"p95Latency": "11.09ms",
"throughput": "3.53MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 5200.24,
"avgLatency": "9.61ms",
"maxLatency": "38.53ms",
"p99Latency": "19.06ms",
"p95Latency": "11.76ms",
"throughput": "39.67MB/s"
}
]
},
{
"name": "NestJS + TypeORM (Node)",
"endpoints": [
{
"endpoint": "POST /api/posts",
"reqPerSec": 2683.48,
"avgLatency": "18.61ms",
"maxLatency": "619.88ms",
"p99Latency": "34.59ms",
"p95Latency": "23.87ms",
"throughput": "1.58MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 2547.11,
"avgLatency": "19.61ms",
"maxLatency": "687.92ms",
"p99Latency": "31.11ms",
"p95Latency": "22.98ms",
"throughput": "19.47MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 2901.89,
"avgLatency": "17.21ms",
"maxLatency": "157.63ms",
"p99Latency": "24.11ms",
"p95Latency": "19.43ms",
"throughput": "3.75MB/s"
}
]
}
],
"realisticPg": [
{
"name": "OneBun (full observability)",
"endpoints": [
{
"endpoint": "POST /api/posts",
"reqPerSec": 5647.05,
"avgLatency": "8.85ms",
"maxLatency": "25.14ms",
"p99Latency": "13.28ms",
"p95Latency": "10.90ms",
"throughput": "3.10MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 11282.49,
"avgLatency": "4.43ms",
"maxLatency": "16.98ms",
"p99Latency": "8.82ms",
"p95Latency": "5.91ms",
"throughput": "57.44MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 3046.63,
"avgLatency": "16.41ms",
"maxLatency": "65.73ms",
"p99Latency": "25.22ms",
"p95Latency": "20.66ms",
"throughput": "3.58MB/s"
}
]
},
{
"name": "NestJS + Fastify (Node)",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 10618.61,
"avgLatency": "4.71ms",
"maxLatency": "210.76ms",
"p99Latency": "7.19ms",
"p95Latency": "6.25ms",
"throughput": "67.59MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 3367.84,
"avgLatency": "14.84ms",
"maxLatency": "202.95ms",
"p99Latency": "21.02ms",
"p95Latency": "18.26ms",
"throughput": "1.98MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 1522.48,
"avgLatency": "32.79ms",
"maxLatency": "127.00ms",
"p99Latency": "46.13ms",
"p95Latency": "38.59ms",
"throughput": "1.84MB/s"
}
]
},
{
"name": "OneBun",
"endpoints": [
{
"endpoint": "GET /api/posts",
"reqPerSec": 12448.69,
"avgLatency": "4.01ms",
"maxLatency": "13.51ms",
"p99Latency": "7.88ms",
"p95Latency": "5.30ms",
"throughput": "79.53MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 6100.79,
"avgLatency": "8.19ms",
"maxLatency": "24.49ms",
"p99Latency": "13.31ms",
"p95Latency": "10.38ms",
"throughput": "3.34MB/s"
},
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 3255.77,
"avgLatency": "15.35ms",
"maxLatency": "68.96ms",
"p99Latency": "24.14ms",
"p95Latency": "19.27ms",
"throughput": "3.82MB/s"
}
]
},
{
"name": "NestJS + TypeORM (Node)",
"endpoints": [
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 1013.73,
"avgLatency": "49.21ms",
"maxLatency": "276.30ms",
"p99Latency": "68.91ms",
"p95Latency": "58.16ms",
"throughput": "1.25MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 4561.72,
"avgLatency": "10.94ms",
"maxLatency": "372.24ms",
"p99Latency": "69.28ms",
"p95Latency": "39.92ms",
"throughput": "29.04MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 2166.79,
"avgLatency": "23.06ms",
"maxLatency": "161.02ms",
"p99Latency": "33.76ms",
"p95Latency": "27.47ms",
"throughput": "1.28MB/s"
}
]
},
{
"name": "NestJS + Fastify (Bun)",
"endpoints": [
{
"endpoint": "GET /api/posts/:id",
"reqPerSec": 3086.02,
"avgLatency": "16.19ms",
"maxLatency": "72.75ms",
"p99Latency": "24.75ms",
"p95Latency": "20.23ms",
"throughput": "3.74MB/s"
},
{
"endpoint": "GET /api/posts",
"reqPerSec": 11006.77,
"avgLatency": "4.54ms",
"maxLatency": "23.16ms",
"p99Latency": "8.80ms",
"p95Latency": "6.11ms",
"throughput": "56.41MB/s"
},
{
"endpoint": "POST /api/posts",
"reqPerSec": 5229.7,
"avgLatency": "9.56ms",
"maxLatency": "35.37ms",
"p99Latency": "14.21ms",
"p95Latency": "11.56ms",
"throughput": "3.08MB/s"
}
]
}
]
}
{"label":"tests","message":"6195 passed","schemaVersion":1,"color":"brightgreen"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment