Benchmarks

Measured, with the biases first.

A benchmark's credibility is decided by what its authors admit before the table, not after it. So the table comes second.

Five reasons to distrust this page

  1. The harness and one of the subjects have the same author. borgo's author chose the scenarios and the load, and wrote the borgo implementation knowing its strengths. Nobody from the other frameworks has reviewed theirs.
  2. The author is better at borgo than at the alternatives. Each competitor is a plain, idiomatic implementation. An expert would likely make it faster, so read each of their numbers as a floor.
  3. A benchmark app is not an application. No database, no authentication, no real template. A framework that wins here by three times will not make your app three times faster.
  4. It is self-hosted against self-hosted. Next.js is measured with next start on Node, not on Vercel: the deployment borgo competes with, and not the one Next.js is most tuned for.
  5. It is one machine. The load generator runs on the same laptop as the server, and they compete for the same cores. Treat the numbers as conservative, and the small gaps as noise.

This is the campaign of 2026-12-05: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 logical cores, 31.7 GiB, Windows_NT 10.0.26300. Two sweeps over every implementation, the second in reverse order. 11 of 27 comparisons drifted between the sweeps by more than their own run-to-run noise (the widest, Astro on "SSR of a real page", by 7.6%). For those, the campaign measured the machine as much as the framework. Both sweeps are shown beside every bar.

hello-world JSON /api/hello

The floor: one tiny JSON object. It measures request plumbing, not application work. For borgo the Go binary on the public port answers it itself.

  • Go net/http76,315 req/s75,829 / 76,800
  • borgo56,251 req/s55,709 / 56,793
  • Elysia53,566 req/s53,087 / 54,044
  • Hono50,258 req/s50,416 / 50,101
  • Fastify28,056 req/s27,774 / 28,338
  • Express20,961 req/s20,957 / 20,965
  • Astro5,034 req/s4,913 / 5,155
  • Next.js2,814 req/s2,814 / 2,815

More is better. The large figure is the median of the two sweeps; the small ones are each sweep.

JSON list (100 items) /api/items?n=100

About 9 kB of JSON, generated on every request: serialization and writing a body.

  • Go net/http24,494 req/s24,262 / 24,725
  • Elysia23,547 req/s23,370 / 23,725
  • Hono21,656 req/s21,734 / 21,579
  • borgo20,853 req/s20,827 / 20,878
  • Fastify16,413 req/s16,380 / 16,446
  • Express12,793 req/s12,715 / 12,871
  • Astro4,053 req/s4,100 / 4,005
  • Next.js2,413 req/s2,417 / 2,410

More is better. The large figure is the median of the two sweeps; the small ones are each sweep.

SSR of a real page /page

A page rendered on the server for every request. The documents are not the same size, so this row is not like for like: a smaller response is less work.

  • borgo4,855 req/s4,818 / 4,891
  • Astro2,831 req/s2,727 / 2,934
  • Next.js687 req/s693 / 680

More is better. The large figure is the median of the two sweeps; the small ones are each sweep.

static asset /static/payload.json

A 31,607-byte file, byte-identical for every implementation. Every plain router here serves it faster than borgo.

  • Elysia31,127 req/s30,755 / 31,500
  • Hono30,424 req/s30,682 / 30,165
  • Fastify24,784 req/s24,667 / 24,901
  • Express22,730 req/s22,681 / 22,780
  • Go net/http12,290 req/s12,133 / 12,447
  • borgo8,711 req/s8,608 / 8,814
  • Astro7,583 req/s7,708 / 7,459
  • Next.js7,520 req/s7,488 / 7,552

More is better. The large figure is the median of the two sweeps; the small ones are each sweep.

memory per concurrent connection /api/events

Memory held per open event stream, with 1,000 streams held. Less is better, and borgo is not the lightest.

  • Elysia4.5 KiB4.4 / 4.5
  • Hono5.5 KiB5.4 / 5.5
  • Fastify19.4 KiB19.4 / 19.4
  • Express21.4 KiB21.5 / 21.2
  • Go net/http37.3 KiB38.3 / 36.3
  • borgo51.5 KiB50.9 / 52.0
  • Astro55.2 KiB55.0 / 55.4
  • Next.js133.2 KiB133.4 / 132.9

Less is better. The large figure is the median of the two sweeps; the small ones are each sweep.

The numbers worth quoting are your own

The harness checks every response against a contract before it generates any load, so a fast wrong answer is not a result. It runs on your machine with one command, bun bench/run.ts.

The method and its limitsThe full report of this runThe contract