# Benchmania results: Backend services

> HTTP services backed by PostgreSQL, each running in the same small, resource-limited container.

Every implementation serves the same API (JSON, single and multiple queries, updates, a list endpoint and a JSON POST) against the same PostgreSQL 18 database. The service gets 2 CPU cores and 1 GiB of memory, like a small production pod. The database container and the load generator's processes are pinned to the CPUs of their own roles, which the layout keeps apart from the service's when the machine has enough cores. Results cover throughput, latency at fixed load, CPU per request, memory, cold start and warm-up.

## This run

- Run `20261118T0230Z-d82776-501e`: the default run of this domain, the one the website shows first.
- Measured 18 Nov 2026, 02:30 UTC, for 5 h 7 min; 5 passes; status complete.
- Who measured: reference, measured by the maintainers themselves (the run id is listed in results/reference-runs.toml).
- Methodology: version 1. Engine release: pinned versions and image digests, CPU per request, database work verification, PSS per scenario, steal-time retries, energy, CPU clock, persisted-update and content-type checks, deterministic database content, 5 s warm-up and 15 s measurement.
- Machine: Intel Xeon W-2133 · 6 cores / 12 threads · bare metal (machine `d827760100bb`: Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz, 6 cores / 12 threads, 62.5 GiB memory, Ubuntu 24.04.5 LTS, kernel 6.8.0-149-generic, bare metal, Docker 29.9.0).
- Scope: every implementation, every scenario.
- Engine 1.0.0, commit `a3d168c849c8`.
- Raw data: [`results/backend/d827760100bb/20261118T0230Z-d82776-501e.json`](https://github.com/Cripacx/benchmania/blob/main/results/backend/d827760100bb/20261118T0230Z-d82776-501e.json) · [run page](backend/runs/20261118T0230Z-d82776-501e/).

## Read this first

- Every value is the median over the passes of this run. `[lo–hi]` after it is the 95 % bootstrap interval of that median.
- Ranks are classes, not places. Two implementations are *not separated* when their 95 % intervals overlap; the rank class (# column, and `· #` after a value) spans every rank those overlaps leave open: 1–3 means ranks 1 to 3 are all compatible with this run, and only 1 alone is a clear first place. "Not separated from" lists, for the metric a table is ranked by, the implementations whose intervals overlap. Not separated does not mean equal, and it is not transitive (A can overlap B and B overlap C while A and C are separated). Where a value has no interval, its rank follows the median only and claims no tie.
- Measured 18 Nov 2026, with the versions in the last column of each table and under "Measured versions". Quote the version and the date with every number. For a different major or minor version (or a release instead of a pre-release) the number is only a rough guide.
- (!) marks a value with a quality warning, (i) one with an informational note (for example spread between passes). The notes are listed below each table. A marked value still counts.
- Compare values within this run only: other machines and other methodology versions are not comparable. Quote the run id and the machine with every number.

## Headline

| # | Implementation | Throughput index (higher is better) | Not separated from (by throughput index) | Latency under load (ms, lower is better) | Memory (MiB, lower is better) | Cold start (ms, lower is better) | CPU efficiency index (higher is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|---|
| 1 | TypeScript · Bun (`bun-serve`) | 99.2 | none | 1.27 [1.16–1.31] · #2 | 75.9 · #3 | 200 [197–209] · #2–4 | 91.5 · #1–2 | Bun 1.4.4 |
| 2 | Rust · axum (`rust-axum`) | 91.6 (i) | none | 0.93 [0.92–0.99] · #1 | 21.6 · #1 | 173 [166–184] · #1–2 | 92.1 · #1–2 | axum 0.8.9 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 73.1 | none | 1.34 [1.33–1.37] · #3 | 144.1 · #8 | 501 [489–536] · #7–9 | 65.8 · #3–4 | .NET 10.0.15 |
| 4 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 65.4 | none | 1.50 [1.47–1.53] · #4 | 93.2 · #4 | 690 [678–703] · #11 | 59.3 · #5 | .NET 10.0.15 |
| 5–6 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 59.2 | `node-fastify` | 1.70 [1.58–1.88] · #5–7 | 155.6 · #9 | 496 [473–543] · #7–9 | 66.0 · #3–4 | .NET 11.0.0 |
| 5–7 | TypeScript · Fastify (`node-fastify`) | 56.8 | `dotnet11-jit` and `go-nethttp` | 1.90 [1.88–2.07] · #7–8 | 223.5 · #12 | 582 [568–607] · #9–10 | 50.5 · #8 | Fastify 5.12.8 |
| 6–7 | Go · net/http (`go-nethttp`) | 55.3 | `node-fastify` | 1.86 [1.65–1.93] · #5–8 | 41.9 · #2 | 170 [166–279] · #1–5 | 57.7 · #6–7 | Go 1.27.4 |
| 8 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 52.6 | none | 1.78 [1.77–1.81] · #5–7 | 97.2 · #5 | 215 [200–234] · #2–4 | 55.7 · #6–7 | .NET 11.0.0 |
| 9–10 | Java · Spring Boot · JVM (`java-spring-jvm`) | 45.6 | `java-spring-aotcache` | 6.95 [6.40–17.00] · #12–15 | 680.0 · #15 | 2,368 [2,347–2,477] · #15 | 41.9 · #9–10 | Spring Boot 4.1.2 |
| 9–10 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 45.4 | `java-spring-jvm` | 2.83 [2.64–5.39] · #9–12 | 671.4 · #14 | 1,486 [1,457–1,560] · #14 | 42.0 · #9–10 | Spring Boot 4.1.2 |
| 11 | TypeScript · Express (`node-express`) | 41.7 | none | 2.53 [2.47–2.66] · #9–10 | 220.0 · #11 | 532 [508–640] · #7–10 | 37.0 · #11 | Express 5.3.0 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 32.4 | none | 4.87 [4.77–5.80] · #10–12 | 156.6 · #10 | 1,203 [1,190–1,242] · #12 | 28.9 · #12–13 | Bandit 1.15.0, Plug 1.20.4 |
| 13 | PHP · FrankenPHP (`php-frankenphp`) | 25.5 (i) | none | 7.78 [7.57–8.27] · #12–14 | 134.8 · #6 | 307 [296–321] · #5–6 | 29.5 · #12–13 | FrankenPHP 1.13.5 |
| 14 | Java · Spring Boot · Native image (`java-spring-native`) | 17.0 | none | 38.56 [5.12–41.99] · #10–15 | 244.3 · #13 | 274 [262–348] · #4–6 | 15.5 · #14 | Spring Boot 4.1.2 |
| 15 | Python · FastAPI (`python-fastapi`) | 14.1 | none | 14.19 [13.85–21.94] · #13–15 | 141.6 · #7 | 1,274 [1,260–1,279] · #13 | 12.5 · #15 | FastAPI 0.163.2 |

Ranked by throughput index. — means not measured in this run.

Memory has no interval: its ranks follow the medians only and claim no tie.

- **Throughput index** (`throughput_index`): Geometric mean over six workloads, each relative to the fastest in that workload. 100 means fastest in all six. Computed over JSON (`json`), Single query (`db`), 20 queries (`queries`), Updates (`updates`), List (`list`) and JSON POST (`orders`): in each, this implementation's “Throughput” divided by the best (highest); the index is the geometric mean of those ratios times 100. Only implementations with a usable result in every one of them get an index, and the best is taken among them, so the index depends on the set of implementations and is not comparable between runs. In this run 100 = best in all 6 scenarios: JSON 220,562 req/s by `bun-serve`; Single query 81,347 req/s by `rust-axum`; 20 queries 5,293 req/s by `bun-serve`; Updates 8,455 req/s by `rust-axum`; List 37,235 req/s by `bun-serve`; JSON POST 74,921 req/s by `bun-serve`. Its rank class compares the index computed per pass, each pass against this run's 100: two implementations are not separated when the 95 % intervals of the medians of their per-pass indices overlap. That interval is not the interval of the index shown, so none is printed.
- **Latency under load** (`latency_p99_ms`): p99 at a fixed 5,000 requests per second. Scenario: Fixed load (5,000 req/s) (`rate`).
- **Memory** (`peak_memory_mib`): Highest proportional set size (PSS) seen in any scenario. Highest median “Memory under load (PSS)” in every scenario.
- **Cold start** (`startup_ms`): Container start until the first successful response. Scenario: Cold start (`startup`).
- **CPU efficiency index** (`efficiency_index`): Computed over JSON (`json`), Single query (`db`), 20 queries (`queries`), Updates (`updates`), List (`list`) and JSON POST (`orders`): in each, the best (lowest) “CPU per request” divided by this implementation's; the index is the geometric mean of those ratios times 100. Only implementations with a usable result in every one of them get an index, and the best is taken among them, so the index depends on the set of implementations and is not comparable between runs. In this run 100 = best in all 6 scenarios: JSON 9.1 µs by `bun-serve`; Single query 24.3 µs by `rust-axum`; 20 queries 282.6 µs by `rust-axum`; Updates 156.7 µs by `rust-axum`; List 53.7 µs by `bun-serve`; JSON POST 26.7 µs by `bun-serve`. Its rank class compares the index computed per pass, each pass against this run's 100: two implementations are not separated when the 95 % intervals of the medians of their per-pass indices overlap. That interval is not the interval of the index shown, so none is printed.

## Measured versions

What this run measured, 18 Nov 2026. Quote the version and the date with a number; for another major or minor version the number is only a rough guide, not a measurement of that version.

| Implementation | Measured | Versions |
|---|---|---|
| TypeScript · Bun (`bun-serve`) | 18 Nov 2026 | Bun 1.4.4 |
| C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 18 Nov 2026 | C# 14, .NET 10.0.15, sdk 10.0.404, npgsql 10.0.3 |
| C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 18 Nov 2026 | C# 14, .NET 10.0.15, sdk 10.0.404, npgsql 10.0.3 |
| C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 18 Nov 2026 | C# 15, .NET 11.0.0, sdk 11.0.100, npgsql 10.0.3 |
| C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 18 Nov 2026 | C# 15, .NET 11.0.0, sdk 11.0.100, npgsql 10.0.3 |
| Elixir · Plug + Bandit (`elixir-bandit`) | 18 Nov 2026 | Elixir 1.20.5, OTP 29, Bandit 1.15.0, Plug 1.20.4, postgrex 0.22.4 |
| Go · net/http (`go-nethttp`) | 18 Nov 2026 | Go 1.27.4, pgx 5.13.0 |
| Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 18 Nov 2026 | Java 25 (bytecode), Java 27 runtime, JVM (HotSpot) 27.0.1, Spring Boot 4.1.2 |
| Java · Spring Boot · JVM (`java-spring-jvm`) | 18 Nov 2026 | Java 25 (bytecode), Java 27 runtime, JVM (HotSpot) 27.0.1, Spring Boot 4.1.2 |
| Java · Spring Boot · Native image (`java-spring-native`) | 18 Nov 2026 | Java 25, GraalVM CE 25.0.2, Spring Boot 4.1.2 |
| TypeScript · Express (`node-express`) | 18 Nov 2026 | Node.js 26.13.1, Express 5.3.0, pg 8.23.1 |
| TypeScript · Fastify (`node-fastify`) | 18 Nov 2026 | Node.js 26.13.1, Fastify 5.12.8, pg 8.23.1 |
| PHP · FrankenPHP (`php-frankenphp`) | 18 Nov 2026 | PHP 8.5.12, FrankenPHP 1.13.5 |
| Python · FastAPI (`python-fastapi`) | 18 Nov 2026 | Python 3.15.2, CPython 3.15.2, FastAPI 0.163.2, uvicorn 0.54.0, asyncpg 0.32.0 |
| Rust · axum (`rust-axum`) | 18 Nov 2026 | Rust 1.100.0, axum 0.8.9, tokio 1.54.1, tokio-postgres 0.7.18 |

## Scenarios

Each table shows the main metrics measured in the scenario; the full set is in the dataset.

### Cold start (`startup`)

Starts a fresh container several times and measures the time until GET /json first succeeds. Also records memory at idle and the image size. Setup: GET /json.

| # | Implementation | Cold start (ms, lower is better) | Not separated from (by cold start) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|
| 1–5 | Go · net/http (`go-nethttp`) | 170 [166–279] | `bun-serve`, `dotnet11-aot`, `java-spring-native` and `rust-axum` | Go 1.27.4 |
| 1–2 | Rust · axum (`rust-axum`) | 173 [166–184] | `go-nethttp` | axum 0.8.9 |
| 2–4 | TypeScript · Bun (`bun-serve`) | 200 [197–209] | `dotnet11-aot` and `go-nethttp` | Bun 1.4.4 |
| 2–4 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 215 [200–234] | `bun-serve` and `go-nethttp` | .NET 11.0.0 |
| 4–6 | Java · Spring Boot · Native image (`java-spring-native`) | 274 [262–348] | `go-nethttp` and `php-frankenphp` | Spring Boot 4.1.2 |
| 5–6 | PHP · FrankenPHP (`php-frankenphp`) | 307 [296–321] | `java-spring-native` | FrankenPHP 1.13.5 |
| 7–9 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 496 [473–543] | `dotnet10-jit` and `node-express` | .NET 11.0.0 |
| 7–9 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 501 [489–536] | `dotnet11-jit` and `node-express` | .NET 10.0.15 |
| 7–10 | TypeScript · Express (`node-express`) | 532 [508–640] | `dotnet10-jit`, `dotnet11-jit` and `node-fastify` | Express 5.3.0 |
| 9–10 | TypeScript · Fastify (`node-fastify`) | 582 [568–607] | `node-express` | Fastify 5.12.8 |
| 11 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 690 [678–703] | none | .NET 10.0.15 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 1,203 [1,190–1,242] | none | Bandit 1.15.0, Plug 1.20.4 |
| 13 | Python · FastAPI (`python-fastapi`) | 1,274 [1,260–1,279] | none | FastAPI 0.163.2 |
| 14 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 1,486 [1,457–1,560] | none | Spring Boot 4.1.2 |
| 15 | Java · Spring Boot · JVM (`java-spring-jvm`) | 2,368 [2,347–2,477] | none | Spring Boot 4.1.2 |

### Cold load (`cold`)

GET /db at full load for 10 seconds right after start, without any warm-up. Shows how much a runtime needs to warm up (JIT, caches, pools) after scaling out. Setup: GET /db, 128 connections, 10s measured.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | Rust · axum (`rust-axum`) | 80,965 [79,118–81,820] | none | 1.96 [1.84–2.04] · #1 | 24.3 [24.1–24.9] · #1 | 8.2 [8.1–8.3] · #1 | axum 0.8.9 |
| 2 | TypeScript · Bun (`bun-serve`) | 77,620 [68,487–78,408] | none | 3.63 [3.21–5.60] · #2–3 | 25.6 [25.5–28.9] · #2 | 65.5 [64.6–65.8] · #5 | Bun 1.4.4 |
| 3 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 45,885 [45,588–46,428] | none | 5.43 [5.25–5.85] · #2–3 | 42.4 [42.0–42.6] · #3–4 | 43.0 [42.9–43.3] · #4 | .NET 10.0.15 |
| 4–5 | Go · net/http (`go-nethttp`) | 41,792 [37,109–42,304] | `node-fastify` | 7.14 [7.00–8.01] · #4–6 | 40.7 [40.4–43.7] · #3–4 | 22.0 [21.7–22.1] · #2 | Go 1.27.4 |
| 4–6 | TypeScript · Fastify (`node-fastify`) | 36,432 [33,324–37,717] | `dotnet10-jit` and `go-nethttp` | 29.00 [23.25–35.46] · #7–11 | 54.6 [52.9–59.9] · #5–7 | 201.0 [193.1–204.8] · #12–13 | Fastify 5.12.8 |
| 5–6 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 35,373 [34,502–36,232] | `node-fastify` | 105.88 [100.35–137.52] · #12–13 | 54.8 [53.6–55.9] · #6–7 | 96.6 [88.6–98.3] · #6–7 | .NET 10.0.15 |
| 7 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 31,122 [29,999–32,778] | none | 9.35 [7.70–10.81] · #4–6 | 49.3 [48.8–53.1] · #5–6 | 36.9 [36.8–37.3] · #3 | .NET 11.0.0 |
| 8–9 | TypeScript · Express (`node-express`) | 24,897 [24,341–25,296] | `dotnet11-jit` | 34.10 [32.83–39.02] · #8–11 | 80.0 [78.9–81.9] · #8–9 | 190.1 [188.1–192.6] · #11–12 | Express 5.3.0 |
| 8–9 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 22,393 [21,525–24,449] | `node-express` | 137.07 [122.32–167.01] · #12–13 | 76.5 [68.6–82.1] · #8–9 | 100.8 [98.2–102.0] · #6–7 | .NET 11.0.0 |
| 10 | Elixir · Plug + Bandit (`elixir-bandit`) | 20,981 [19,528–21,222] | none | 7.86 [7.58–9.76] · #4–6 | 95.2 [94.1–102.1] · #10 | 131.1 [129.5–141.8] · #9–10 | Bandit 1.15.0, Plug 1.20.4 |
| 11 | Java · Spring Boot · Native image (`java-spring-native`) | 14,545 [14,027–14,711] | none | 36.57 [33.92–38.77] · #8–11 | 133.4 [131.7–138.0] · #11–12 | 195.6 [190.8–212.5] · #11–13 | Spring Boot 4.1.2 |
| 12–14 | PHP · FrankenPHP (`php-frankenphp`) | 9,172 [8,528–9,294] | `java-spring-aotcache` and `python-fastapi` | 28.45 [27.84–29.16] · #7–9 | 132.1 [129.5–140.0] · #11–12 | 108.2 [107.7–108.5] · #8 | FrankenPHP 1.13.5 |
| 12–15 | Python · FastAPI (`python-fastapi`) | 8,620 [8,103–8,735] | `java-spring-aotcache`, `java-spring-jvm` and `php-frankenphp` | 30.83 [26.12–39.95] · #7–11 | 231.5 [228.6–246.1] · #13–15 | 129.4 [129.3–131.4] · #9–10 | FastAPI 0.163.2 |
| 12–15 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 8,124 [5,804–9,049] (i) | `java-spring-jvm`, `php-frankenphp` and `python-fastapi` | 194.05 [187.76–779.08] · #14–15 | 245.3 [220.5–343.5] · #13–15 | 262.3 [260.9–265.7] · #14–15 | Spring Boot 4.1.2 |
| 13–15 | Java · Spring Boot · JVM (`java-spring-jvm`) | 7,898 [7,396–8,272] | `java-spring-aotcache` and `python-fastapi` | 238.10 [206.68–255.06] · #14–15 | 252.2 [241.3–269.3] · #13–15 | 241.7 [234.2–389.5] · #14–15 | Spring Boot 4.1.2 |

- (i) Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`), Cold load: throughput varies 14 % between passes

### JSON (`json`)

GET /json returns a small JSON object. Pure framework and serialization overhead, no I/O. Setup: GET /json.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | TypeScript · Bun (`bun-serve`) | 220,562 [220,309–221,642] | none | 1.17 [1.12–1.30] · #2 | 9.1 [9.0–9.1] · #1 | 66.7 [66.4–67.2] · #5 | Bun 1.4.4 |
| 2 | Rust · axum (`rust-axum`) | 212,688 [201,850–213,381] | none | 0.91 [0.89–0.97] · #1 | 9.3 [9.3–9.9] · #2 | 9.9 [9.5–10.4] · #1 | axum 0.8.9 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 145,691 [144,395–148,514] | none | 1.54 [1.41–1.71] · #3 | 13.6 [13.3–13.6] · #3–4 | 106.3 [104.7–108.9] · #6 | .NET 10.0.15 |
| 4 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 135,166 [131,570–137,741] | none | 1.93 [1.79–2.58] · #4–5 | 14.3 [14.0–14.4] · #4–5 | 46.9 [46.5–51.6] · #3–4 | .NET 10.0.15 |
| 5–7 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 116,063 [110,265–119,541] | `go-nethttp` and `node-fastify` | 4.72 [4.58–5.03] · #8–12 | 13.8 [13.6–14.5] · #3–5 | 114.5 [114.0–115.8] · #8 | .NET 11.0.0 |
| 5–7 | Go · net/http (`go-nethttp`) | 111,930 [105,894–113,206] | `dotnet11-jit` and `node-fastify` | 3.64 [3.55–3.94] · #6–7 | 17.8 [17.5–18.8] · #7–8 | 23.5 [23.2–23.9] · #2 | Go 1.27.4 |
| 5–7 | TypeScript · Fastify (`node-fastify`) | 108,778 [106,478–113,736] | `dotnet11-jit` and `go-nethttp` | 2.27 [2.22–2.37] · #4–5 | 18.4 [17.6–18.7] · #7–8 | 214.2 [209.3–220.0] · #12–13 | Fastify 5.12.8 |
| 8 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 100,704 [99,205–105,749] | none | 4.62 [4.29–4.82] · #7–12 | 15.8 [15.2–16.3] · #6 | 51.0 [46.3–56.9] · #3–4 | .NET 11.0.0 |
| 9–11 | Java · Spring Boot · JVM (`java-spring-jvm`) | 56,745 [54,212–62,241] | `java-spring-aotcache` and `node-express` | 4.27 [4.03–5.80] · #7–12 | 30.4 [29.3–31.1] · #9–10 | 314.2 [296.7–354.9] · #15 | Spring Boot 4.1.2 |
| 9–11 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 56,027 [54,160–57,922] | `java-spring-jvm` and `node-express` | 4.33 [4.09–4.81] · #7–12 | 29.8 [29.7–31.5] · #9–10 | 276.8 [272.8–282.9] · #14 | Spring Boot 4.1.2 |
| 9–11 | TypeScript · Express (`node-express`) | 55,919 [54,861–56,681] | `java-spring-aotcache` and `java-spring-jvm` | 4.53 [4.46–4.62] · #7–12 | 35.7 [35.3–36.4] · #11 | 215.5 [215.2–218.9] · #12–13 | Express 5.3.0 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 45,480 [42,683–47,276] | none | 4.12 [3.29–4.51] · #6–11 | 44.0 [42.3–46.8] · #12 | 150.7 [143.5–160.5] · #11 | Bandit 1.15.0, Plug 1.20.4 |
| 13–14 | PHP · FrankenPHP (`php-frankenphp`) | 24,214 [21,797–24,232] | `java-spring-native` | 12.16 [12.09–14.31] · #13–14 | 63.9 [63.6–70.6] · #13 | 110.8 [110.2–110.9] · #7 | FrankenPHP 1.13.5 |
| 13–14 | Java · Spring Boot · Native image (`java-spring-native`) | 23,641 [21,877–23,689] | `php-frankenphp` | 15.13 [14.32–17.49] · #15 | 82.3 [82.1–88.9] · #14 | 124.5 [116.8–125.4] · #9 | Spring Boot 4.1.2 |
| 15 | Python · FastAPI (`python-fastapi`) | 18,476 [17,944–18,930] | none | 13.11 [12.43–13.60] · #13–14 | 108.2 [105.6–111.4] · #15 | 132.4 [132.1–133.5] · #10 | FastAPI 0.163.2 |

### Single query (`db`)

GET /db reads one random row by primary key and returns it as JSON. Setup: GET /db.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | Rust · axum (`rust-axum`) | 81,347 [80,339–81,873] | none | 1.92 [1.83–1.98] · #1 | 24.3 [24.1–24.6] · #1 | 10.2 [9.1–10.4] · #1 | axum 0.8.9 |
| 2 | TypeScript · Bun (`bun-serve`) | 78,458 [78,216–78,973] | none | 2.57 [2.53–2.68] · #2 | 25.5 [25.3–25.5] · #2 | 73.9 [71.0–77.2] · #5 | Bun 1.4.4 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 52,350 [51,964–53,183] | none | 3.97 [3.86–4.15] · #3 | 37.5 [36.9–37.8] · #3 | 102.2 [95.5–104.2] · #6 | .NET 10.0.15 |
| 4 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 46,884 [46,722–47,146] | none | 4.56 [4.49–4.64] · #4–5 | 41.8 [41.6–41.9] · #4–6 | 42.7 [39.8–46.3] · #3–4 | .NET 10.0.15 |
| 5 | Go · net/http (`go-nethttp`) | 41,772 [40,549–41,955] | none | 6.75 [6.71–7.06] · #6–8 | 41.1 [40.7–41.7] · #4–5 | 24.4 [24.3–24.6] · #2 | Go 1.27.4 |
| 6–8 | TypeScript · Fastify (`node-fastify`) | 38,279 [35,143–39,049] | `dotnet11-aot` and `dotnet11-jit` | 4.84 [4.38–6.09] · #4–5 | 52.2 [51.1–56.9] · #8 | 213.6 [209.9–217.4] · #13 | Fastify 5.12.8 |
| 6–8 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 35,760 [34,487–36,578] | `dotnet11-aot` and `node-fastify` | 7.82 [7.24–8.33] · #7–10 | 42.0 [41.8–46.7] · #5–6 | 110.7 [106.8–112.8] · #7–8 | .NET 11.0.0 |
| 6–8 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 35,025 [33,600–35,938] | `dotnet11-jit` and `node-fastify` | 6.59 [6.16–7.78] · #6–10 | 47.6 [47.4–50.3] · #7 | 45.2 [43.5–50.4] · #3–4 | .NET 11.0.0 |
| 9–10 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 29,702 [29,233–30,341] | `java-spring-jvm` | 12.04 [11.81–12.57] · #11–12 | 65.6 [64.2–67.0] · #9–10 | 277.2 [273.0–283.2] · #14 | Spring Boot 4.1.2 |
| 9–10 | Java · Spring Boot · JVM (`java-spring-jvm`) | 29,423 [29,092–30,110] | `java-spring-aotcache` | 12.37 [12.27–12.90] · #11–12 | 66.3 [65.0–66.9] · #9–10 | 313.6 [297.0–330.1] · #15 | Spring Boot 4.1.2 |
| 11 | TypeScript · Express (`node-express`) | 26,666 [25,373–27,038] | none | 6.98 [6.67–8.07] · #6–10 | 74.9 [73.9–78.8] · #11 | 207.2 [204.8–208.5] · #12 | Express 5.3.0 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 20,218 [19,968–20,765] | none | 7.91 [7.58–9.26] · #7–10 | 98.7 [96.2–100.1] · #12 | 145.9 [141.6–154.3] · #10 | Bandit 1.15.0, Plug 1.20.4 |
| 13 | Java · Spring Boot · Native image (`java-spring-native`) | 14,559 [13,654–14,594] | none | 33.62 [27.43–39.79] · #13–14 | 134.1 [133.5–142.9] · #13–14 | 179.0 [172.3–181.1] · #11 | Spring Boot 4.1.2 |
| 14 | PHP · FrankenPHP (`php-frankenphp`) | 8,439 [8,340–9,223] | none | 29.37 [28.00–30.06] · #13–14 | 141.1 [131.0–142.8] · #13–14 | 110.6 [109.9–111.3] · #7–8 | FrankenPHP 1.13.5 |
| 15 | Python · FastAPI (`python-fastapi`) | 8,168 [8,027–8,335] | none | 40.55 [39.96–41.33] · #15 | 244.7 [239.9–249.0] · #15 | 132.6 [132.3–133.7] · #9 | FastAPI 0.163.2 |

### 20 queries (`queries`)

GET /queries runs 20 sequential primary-key reads on one connection and returns them as a JSON array. Measures driver and async efficiency. Setup: GET /queries.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1–2 | TypeScript · Bun (`bun-serve`) | 5,293 [5,290–5,296] | `rust-axum` | 29.79 [27.14–33.09] · #2–5 | 358.0 [356.7–359.0] · #2 | 75.9 [75.4–79.8] · #5 | Bun 1.4.4 |
| 1–2 | Rust · axum (`rust-axum`) | 5,276 [5,267–5,291] | `bun-serve` | 26.67 [26.25–27.04] · #1 | 282.6 [278.5–286.5] · #1 | 10.6 [10.0–11.0] · #1 | axum 0.8.9 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 4,803 [4,779–4,815] | none | 30.18 [29.62–31.14] · #2–4 | 410.0 [408.9–410.8] · #4–6 | 108.8 [105.3–109.9] · #6 | .NET 10.0.15 |
| 4–5 | PHP · FrankenPHP (`php-frankenphp`) | 4,739 [4,545–4,758] | `dotnet10-aot` | 31.92 [30.86–37.81] · #2–5 | 392.5 [388.1–417.3] · #3–6 | 112.4 [112.0–118.0] · #7–8 | FrankenPHP 1.13.5 |
| 4–5 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 4,557 [4,540–4,569] | `php-frankenphp` | 32.69 [32.08–33.18] · #3–5 | 430.2 [429.8–431.2] · #7 | 50.0 [44.6–51.0] · #3–4 | .NET 10.0.15 |
| 6–9 | Java · Spring Boot · JVM (`java-spring-jvm`) | 3,793 [3,765–3,852] | `dotnet11-jit`, `java-spring-aotcache` and `node-fastify` | 102.20 [101.66–112.63] · #12–14 | 522.7 [512.5–525.2] · #9–11 | 313.7 [297.1–328.2] · #15 | Spring Boot 4.1.2 |
| 6–12 | TypeScript · Fastify (`node-fastify`) | 3,788 [3,602–3,842] | `dotnet11-aot`, `dotnet11-jit`, `go-nethttp`, `java-spring-aotcache`, `java-spring-jvm` and `node-express` | 52.04 [49.56–61.92] · #7–11 | 527.2 [520.4–554.6] · #9–12 | 222.9 [218.2–225.6] · #11–13 | Fastify 5.12.8 |
| 6–9 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 3,781 [3,751–3,850] | `dotnet11-jit`, `java-spring-jvm` and `node-fastify` | 100.10 [98.06–104.10] · #12–14 | 525.0 [516.6–531.6] · #9–11 | 277.4 [273.1–283.4] · #14 | Spring Boot 4.1.2 |
| 6–12 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 3,735 [3,505–3,810] | `dotnet11-aot`, `go-nethttp`, `java-spring-aotcache`, `java-spring-jvm`, `node-express` and `node-fastify` | 42.53 [39.94–49.28] · #6–8 | 379.8 [373.9–410.6] · #3–6 | 113.9 [112.0–117.3] · #7–8 | .NET 11.0.0 |
| 8–13 | Go · net/http (`go-nethttp`) | 3,588 [3,461–3,614] | `dotnet11-aot`, `dotnet11-jit`, `elixir-bandit`, `node-express` and `node-fastify` | 50.76 [49.49–52.63] · #7–10 | 391.4 [389.5–402.6] · #3–5 | 24.4 [24.0–24.5] · #2 | Go 1.27.4 |
| 8–13 | TypeScript · Express (`node-express`) | 3,552 [3,481–3,615] | `dotnet11-aot`, `dotnet11-jit`, `elixir-bandit`, `go-nethttp` and `node-fastify` | 62.19 [58.87–70.60] · #10–11 | 562.7 [552.8–574.6] · #11–13 | 220.0 [217.7–221.7] · #11–13 | Express 5.3.0 |
| 10–13 | Elixir · Plug + Bandit (`elixir-bandit`) | 3,474 [3,331–3,503] | `dotnet11-aot`, `go-nethttp` and `node-express` | 45.04 [43.68–51.12] · #6–10 | 570.4 [566.1–595.3] · #12–13 | 145.6 [141.5–154.1] · #10 | Bandit 1.15.0, Plug 1.20.4 |
| 8–13 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 3,453 [3,284–3,642] | `dotnet11-jit`, `elixir-bandit`, `go-nethttp`, `node-express` and `node-fastify` | 46.76 [43.96–50.23] · #6–10 | 450.2 [443.6–470.6] · #8 | 51.6 [50.2–54.4] · #3–4 | .NET 11.0.0 |
| 14–15 | Java · Spring Boot · Native image (`java-spring-native`) | 2,234 [2,070–2,244] | `python-fastapi` | 146.33 [138.70–161.36] · #15 | 873.2 [869.2–942.1] · #14–15 | 226.6 [216.2–229.9] · #11–13 | Spring Boot 4.1.2 |
| 14–15 | Python · FastAPI (`python-fastapi`) | 2,158 [2,123–2,208] | `java-spring-native` | 102.10 [101.09–106.45] · #12–14 | 925.7 [906.2–941.0] · #14–15 | 132.6 [132.3–133.7] · #9 | FastAPI 0.163.2 |

### Updates (`updates`)

GET /updates reads 5 random rows, changes each value and writes it back with 5 UPDATE statements. Setup: GET /updates.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | Rust · axum (`rust-axum`) | 8,455 [8,446–8,568] | none | 15.91 [15.80–15.93] · #1 | 156.7 [153.1–157.5] · #1 | 10.1 [9.8–11.1] · #1 | axum 0.8.9 |
| 2 | TypeScript · Bun (`bun-serve`) | 8,376 [8,353–8,402] | none | 18.81 [18.10–18.93] · #2–3 | 201.2 [200.8–202.2] · #2 | 75.0 [73.8–76.4] · #5 | Bun 1.4.4 |
| 3–5 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 7,951 [7,725–7,994] | `dotnet10-aot` and `php-frankenphp` | 19.02 [18.50–20.38] · #2–4 | 247.8 [246.2–255.3] · #6–8 | 104.0 [101.9–106.9] · #6 | .NET 10.0.15 |
| 3–5 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 7,753 [7,730–7,832] | `dotnet10-jit` and `php-frankenphp` | 19.53 [19.13–20.39] · #3–4 | 253.0 [249.0–254.1] · #6–8 | 42.9 [42.3–47.7] · #3 | .NET 10.0.15 |
| 3–6 | PHP · FrankenPHP (`php-frankenphp`) | 7,627 [7,465–7,759] | `dotnet10-aot`, `dotnet10-jit` and `node-fastify` | 22.12 [21.76–25.18] · #5–9 | 238.5 [234.8–245.8] · #5 | 112.0 [111.5–112.3] · #7–8 | FrankenPHP 1.13.5 |
| 5–6 | TypeScript · Fastify (`node-fastify`) | 7,310 [6,846–7,524] | `php-frankenphp` | 26.45 [20.73–31.77] · #5–11 | 273.1 [265.6–291.1] · #8–9 | 223.3 [217.9–225.5] · #12–13 | Fastify 5.12.8 |
| 7–10 | TypeScript · Express (`node-express`) | 6,746 [6,522–6,788] | `dotnet11-jit`, `java-spring-aotcache` and `java-spring-jvm` | 24.24 [20.99–30.48] · #5–11 | 296.1 [294.6–306.3] · #10–12 | 217.6 [214.7–218.7] · #12–13 | Express 5.3.0 |
| 7–10 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 6,667 [6,532–6,785] | `dotnet11-jit`, `java-spring-jvm` and `node-express` | 70.57 [66.14–71.12] · #12–14 | 295.8 [293.6–304.9] · #10–12 | 277.5 [273.2–283.5] · #14 | Spring Boot 4.1.2 |
| 7–10 | Java · Spring Boot · JVM (`java-spring-jvm`) | 6,619 [6,508–6,684] | `dotnet11-jit`, `java-spring-aotcache` and `node-express` | 69.68 [63.77–71.61] · #12–14 | 297.6 [292.5–300.7] · #10–12 | 305.1 [297.2–322.0] · #15 | Spring Boot 4.1.2 |
| 7–12 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 6,506 [6,231–6,629] | `dotnet11-aot`, `go-nethttp`, `java-spring-aotcache`, `java-spring-jvm` and `node-express` | 25.34 [25.08–28.06] · #5–10 | 218.7 [214.3–227.2] · #3–4 | 108.4 [107.7–116.8] · #7–8 | .NET 11.0.0 |
| 10–12 | Go · net/http (`go-nethttp`) | 6,222 [6,144–6,276] | `dotnet11-aot` and `dotnet11-jit` | 29.99 [29.02–30.64] · #8–11 | 218.6 [217.4–221.9] · #3–4 | 23.6 [22.8–24.0] · #2 | Go 1.27.4 |
| 10–12 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 6,115 [5,913–6,318] | `dotnet11-jit` and `go-nethttp` | 26.81 [24.60–28.77] · #5–10 | 252.2 [250.3–266.7] · #6–9 | 52.4 [48.4–52.8] · #4 | .NET 11.0.0 |
| 13 | Elixir · Plug + Bandit (`elixir-bandit`) | 5,709 [5,625–5,763] | none | 28.88 [27.51–29.89] · #6–11 | 345.9 [344.1–353.0] · #13 | 141.4 [136.7–150.5] · #10 | Bandit 1.15.0, Plug 1.20.4 |
| 14 | Java · Spring Boot · Native image (`java-spring-native`) | 3,932 [3,796–3,940] | none | 84.42 [83.35–103.35] · #15 | 496.3 [495.4–507.5] · #14 | 203.2 [194.1–205.7] · #11 | Spring Boot 4.1.2 |
| 15 | Python · FastAPI (`python-fastapi`) | 3,506 [3,369–3,546] | none | 66.27 [63.20–67.42] · #12–14 | 570.3 [564.1–592.9] · #15 | 132.6 [132.3–133.7] · #9 | FastAPI 0.163.2 |

### List (`list`)

GET /list reads a range of 100 rows, adds a computed field to each and serializes the list, like a typical paginated REST endpoint. Setup: GET /list.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | TypeScript · Bun (`bun-serve`) | 37,235 [36,639–37,497] | none | 6.05 [5.85–6.13] · #1–2 | 53.7 [53.3–54.5] · #1 | 71.5 [70.3–71.7] · #5 | Bun 1.4.4 |
| 2–4 | Rust · axum (`rust-axum`) | 32,428 [23,825–36,146] (i) | `dotnet10-jit` and `dotnet11-jit` | 5.05 [4.46–6.54] · #1–2 | 60.9 [55.1–81.9] · #2–4 | 10.6 [9.3–11.1] · #1 | axum 0.8.9 |
| 2–3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 28,373 [28,307–28,478] | `rust-axum` | 6.79 [6.71–6.99] · #3 | 69.3 [68.9–69.5] · #2–3 | 115.5 [114.4–117.9] · #7–8 | .NET 10.0.15 |
| 3–6 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 23,901 [21,824–24,375] | `dotnet10-aot`, `go-nethttp` and `rust-axum` | 8.42 [8.31–10.52] · #4–6 | 74.4 [73.2–80.4] · #3–4 | 122.0 [116.7–125.4] · #7–8 | .NET 11.0.0 |
| 4–5 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 23,628 [23,333–23,756] | `dotnet11-jit` | 8.09 [8.00–8.48] · #4–5 | 83.0 [82.7–84.0] · #5 | 56.3 [51.7–58.8] · #3–4 | .NET 10.0.15 |
| 5–9 | Go · net/http (`go-nethttp`) | 21,798 [19,903–22,048] | `dotnet11-aot`, `dotnet11-jit`, `java-spring-aotcache` and `java-spring-jvm` | 10.72 [10.59–12.30] · #6–8 | 86.2 [85.6–94.3] · #6–7 | 24.1 [23.7–24.8] · #2 | Go 1.27.4 |
| 6–9 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 20,129 [19,189–20,184] | `go-nethttp`, `java-spring-aotcache` and `java-spring-jvm` | 9.92 [9.90–11.51] · #5–7 | 89.1 [88.7–93.6] · #6–7 | 61.9 [58.6–64.2] · #3–4 | .NET 11.0.0 |
| 6–9 | Java · Spring Boot · JVM (`java-spring-jvm`) | 19,959 [19,831–20,164] | `dotnet11-aot`, `go-nethttp` and `java-spring-aotcache` | 15.25 [14.96–15.60] · #8–11 | 99.5 [98.5–100.2] · #8–9 | 311.0 [297.9–315.4] · #15 | Spring Boot 4.1.2 |
| 6–9 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 19,898 [19,593–20,141] | `dotnet11-aot`, `go-nethttp` and `java-spring-jvm` | 15.83 [15.39–16.05] · #8–11 | 99.5 [98.6–100.5] · #8–9 | 294.6 [283.8–296.1] · #14 | Spring Boot 4.1.2 |
| 10 | TypeScript · Fastify (`node-fastify`) | 15,485 [14,325–15,757] | none | 11.95 [11.70–16.18] · #7–11 | 129.1 [126.8–139.6] · #10 | 223.5 [216.9–229.5] · #11–12 | Fastify 5.12.8 |
| 11 | TypeScript · Express (`node-express`) | 12,690 [12,392–13,032] | none | 14.02 [13.13–17.19] · #8–12 | 157.5 [153.4–161.3] · #11 | 215.5 [214.8–218.5] · #11–12 | Express 5.3.0 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 9,219 [8,907–9,244] | none | 17.35 [16.75–19.70] · #11–12 | 216.8 [216.1–224.7] · #12–13 | 152.0 [151.5–167.4] · #10 | Bandit 1.15.0, Plug 1.20.4 |
| 13–14 | PHP · FrankenPHP (`php-frankenphp`) | 5,538 [4,177–6,959] (i) | `java-spring-native` | 57.30 [53.18–60.81] · #13–14 | 236.6 [197.5–299.0] · #12–13 | 111.0 [110.5–111.2] · #6 | FrankenPHP 1.13.5 |
| 13–14 | Java · Spring Boot · Native image (`java-spring-native`) | 4,162 [4,066–4,200] | `php-frankenphp` | 63.08 [60.61–68.15] · #13–14 | 468.7 [464.4–479.9] · #14 | 244.3 [239.7–260.9] · #13 | Spring Boot 4.1.2 |
| 15 | Python · FastAPI (`python-fastapi`) | 2,071 [2,009–2,092] | none | 162.69 [155.68–177.89] · #15 | 965.3 [956.5–995.4] · #15 | 132.6 [132.3–133.7] · #9 | FastAPI 0.163.2 |

- (i) Rust · axum (`rust-axum`), List: throughput varies 16 % between passes
- (i) PHP · FrankenPHP (`php-frankenphp`), List: throughput varies 16 % between passes

### JSON POST (`orders`)

POST /orders sends a 2.5 KB order with 50 line items. The service parses, validates and totals it and returns a summary. No database. Setup: POST /orders.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | TypeScript · Bun (`bun-serve`) | 74,921 [74,412–75,442] | none | 3.45 [3.30–3.76] · #1–2 | 26.7 [26.5–26.9] · #1 | 67.0 [65.2–68.8] · #5 | Bun 1.4.4 |
| 2 | Rust · axum (`rust-axum`) | 52,819 [45,868–55,461] | none | 3.70 [3.55–4.28] · #1–2 | 37.5 [35.6–42.9] · #2 | 10.1 [9.4–11.1] · #1 | axum 0.8.9 |
| 3–5 | TypeScript · Fastify (`node-fastify`) | 42,079 [38,185–43,155] | `dotnet10-jit` and `dotnet11-jit` | 5.76 [5.65–6.07] · #4 | 47.5 [46.3–52.3] · #3–5 | 212.3 [205.9–217.8] · #12–13 | Fastify 5.12.8 |
| 3–4 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 41,210 [41,118–41,738] | `node-fastify` | 5.40 [5.23–5.48] · #3 | 48.1 [47.5–48.1] · #3–5 | 104.8 [103.2–109.6] · #6–7 | .NET 10.0.15 |
| 4–5 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 39,800 [38,577–40,659] | `node-fastify` | 7.13 [6.83–7.53] · #6 | 47.4 [46.7–49.3] · #3–5 | 100.3 [99.5–104.1] · #6–7 | .NET 11.0.0 |
| 6 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 33,014 [32,454–33,147] | none | 6.60 [6.37–6.67] · #5 | 60.1 [59.7–61.0] · #6 | 48.1 [38.7–52.0] · #3–4 | .NET 10.0.15 |
| 7–8 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 31,597 [28,347–31,760] | `go-nethttp` | 8.13 [7.98–9.55] · #7–10 | 61.5 [61.1–68.5] · #7 | 48.3 [34.7–56.8] · #3–4 | .NET 11.0.0 |
| 7–8 | Go · net/http (`go-nethttp`) | 28,170 [26,954–28,865] | `dotnet11-aot` | 12.21 [12.01–13.41] · #11–12 | 70.3 [68.6–73.5] · #8 | 24.3 [23.6–25.3] · #2 | Go 1.27.4 |
| 9 | TypeScript · Express (`node-express`) | 25,909 [25,024–26,197] | none | 9.74 [9.44–9.94] · #9–10 | 77.1 [76.2–79.9] · #9 | 218.7 [216.8–221.3] · #12–13 | Express 5.3.0 |
| 10–11 | Java · Spring Boot · JVM (`java-spring-jvm`) | 23,924 [22,181–24,011] | `java-spring-aotcache` | 8.05 [7.88–9.24] · #7–9 | 82.9 [82.7–89.5] · #10–11 | 311.2 [300.2–315.5] · #14–15 | Spring Boot 4.1.2 |
| 10–11 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 23,460 [23,203–24,061] | `java-spring-jvm` | 8.07 [7.95–8.10] · #7–9 | 84.6 [82.4–85.5] · #10–11 | 295.0 [284.3–301.9] · #14–15 | Spring Boot 4.1.2 |
| 12–13 | Elixir · Plug + Bandit (`elixir-bandit`) | 15,377 [14,996–15,681] | `php-frankenphp` | 11.45 [11.02–13.16] · #11–12 | 130.0 [127.5–133.3] · #13 | 145.4 [142.4–163.1] · #11 | Bandit 1.15.0, Plug 1.20.4 |
| 12–13 | PHP · FrankenPHP (`php-frankenphp`) | 15,016 [12,919–15,069] | `elixir-bandit` | 16.80 [16.67–20.17] · #13 | 105.7 [105.6–123.1] · #12 | 111.3 [111.0–111.5] · #8 | FrankenPHP 1.13.5 |
| 14 | Python · FastAPI (`python-fastapi`) | 7,519 [7,323–7,615] | none | 33.22 [32.01–33.84] · #14 | 266.0 [262.8–273.3] · #14 | 132.6 [132.3–133.7] · #10 | FastAPI 0.163.2 |
| 15 | Java · Spring Boot · Native image (`java-spring-native`) | 4,297 [4,239–4,345] | none | 41.74 [41.20–43.11] · #15 | 453.0 [448.2–458.7] · #15 | 127.2 [125.7–129.4] · #9 | Spring Boot 4.1.2 |

### Single query, 16 connections (`db-c16`)

GET /db with only 16 concurrent connections: behaviour at moderate concurrency, where latency rather than queueing dominates. Setup: GET /db, 16 connections.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | Rust · axum (`rust-axum`) | 80,539 [79,232–81,742] | none | 0.29 [0.28–0.29] · #1 | 24.6 [24.2–25.0] · #1 | 10.1 [9.3–11.1] · #1 | axum 0.8.9 |
| 2 | TypeScript · Bun (`bun-serve`) | 68,340 [68,020–68,973] | none | 0.44 [0.42–0.46] · #2 | 29.3 [29.0–29.4] · #2 | 65.6 [65.0–69.5] · #5 | Bun 1.4.4 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 54,335 [53,651–55,215] | none | 0.93 [0.87–0.96] · #3–5 | 36.6 [36.1–37.2] · #3 | 100.8 [99.3–101.8] · #6–7 | .NET 10.0.15 |
| 4 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 47,595 [46,956–48,402] | none | 0.86 [0.80–0.94] · #3–5 | 41.8 [41.1–42.4] · #4–6 | 39.8 [35.6–43.6] · #3–4 | .NET 10.0.15 |
| 5–7 | TypeScript · Fastify (`node-fastify`) | 37,193 [35,252–37,545] | `dotnet11-jit` and `go-nethttp` | 0.93 [0.89–1.05] · #3–5 | 53.7 [53.2–56.6] · #8–10 | 214.8 [208.1–220.0] · #12–13 | Fastify 5.12.8 |
| 5–7 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 37,072 [35,786–39,777] | `go-nethttp` and `node-fastify` | 3.46 [2.60–4.40] · #9–13 | 40.8 [39.8–41.6] · #4–5 | 106.0 [98.8–111.8] · #6–9 | .NET 11.0.0 |
| 5–7 | Go · net/http (`go-nethttp`) | 35,572 [35,284–35,901] | `dotnet11-jit` and `node-fastify` | 3.58 [3.55–3.60] · #11–13 | 42.4 [42.2–43.6] · #5–6 | 20.4 [20.3–21.0] · #2 | Go 1.27.4 |
| 8 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 32,416 [30,765–32,763] | none | 3.03 [1.77–3.84] · #9–13 | 48.6 [47.6–52.8] · #7 | 40.2 [38.9–49.7] · #3–4 | .NET 11.0.0 |
| 9–10 | Java · Spring Boot · JVM (`java-spring-jvm`) | 29,664 [29,053–30,083] | `java-spring-aotcache` | 1.13 [1.06–1.55] · #6–8 | 55.2 [54.6–56.0] · #8–10 | 312.9 [308.7–317.5] · #15 | Spring Boot 4.1.2 |
| 9–10 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 29,548 [28,693–29,988] | `java-spring-jvm` | 1.10 [1.08–1.42] · #6–8 | 55.0 [54.2–56.9] · #8–10 | 293.1 [284.5–300.1] · #14 | Spring Boot 4.1.2 |
| 11 | TypeScript · Express (`node-express`) | 25,796 [24,951–26,177] | none | 1.27 [1.23–1.41] · #6–8 | 77.4 [76.2–80.1] · #11 | 207.9 [204.2–209.2] · #12–13 | Express 5.3.0 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 19,034 [18,825–19,823] | none | 2.07 [1.94–2.63] · #9–11 | 103.2 [99.3–104.1] · #12 | 144.5 [141.5–162.0] · #11 | Bandit 1.15.0, Plug 1.20.4 |
| 13 | Java · Spring Boot · Native image (`java-spring-native`) | 14,336 [14,076–14,522] | none | 6.90 [6.78–7.94] · #15 | 117.9 [117.5–120.0] · #13 | 107.2 [106.4–109.3] · #8–9 | Spring Boot 4.1.2 |
| 14 | PHP · FrankenPHP (`php-frankenphp`) | 8,722 [8,666–9,333] | none | 4.84 [4.49–4.89] · #14 | 136.5 [127.9–137.1] · #14 | 104.3 [103.8–104.7] · #7–8 | FrankenPHP 1.13.5 |
| 15 | Python · FastAPI (`python-fastapi`) | 8,029 [7,634–8,297] | none | 3.06 [2.82–3.42] · #10–12 | 248.7 [241.0–261.6] · #15 | 132.6 [132.3–133.7] · #10 | FastAPI 0.163.2 |

### Single query, 512 connections (`db-c512`)

GET /db with 512 concurrent connections: many idle keep-alive connections and deep queues on 2 cores. Setup: GET /db, 512 connections.

| # | Implementation | Throughput (req/s, higher is better) | Not separated from (by throughput) | Latency p99 (ms, lower is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | TypeScript · Bun (`bun-serve`) | 78,903 [78,562–79,178] | none | 8.67 [8.47–9.24] · #1–2 | 25.3 [25.2–25.4] · #1 | 69.1 [68.9–69.4] · #3 | Bun 1.4.4 |
| 2 | Rust · axum (`rust-axum`) | 75,331 [74,415–76,164] | none | 7.98 [7.61–9.31] · #1–2 | 26.2 [25.9–26.5] · #2 | 21.6 [20.8–22.7] · #1 | axum 0.8.9 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 47,914 [47,409–48,134] | none | 13.90 [13.43–14.41] · #3 | 41.5 [41.4–42.0] · #3 | 144.1 [142.9–147.0] · #8 | .NET 10.0.15 |
| 4 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 43,672 [43,324–43,854] | none | 15.04 [14.51–15.52] · #4 | 45.6 [45.4–45.9] · #4–6 | 93.2 [90.5–98.8] · #4–5 | .NET 10.0.15 |
| 5–6 | Go · net/http (`go-nethttp`) | 39,523 [37,445–40,319] | `dotnet11-jit` | 20.88 [20.64–24.45] · #5–8 | 43.6 [43.3–45.7] · #4–6 | 41.9 [41.6–42.3] · #2 | Go 1.27.4 |
| 5–8 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 35,200 [32,874–37,690] | `dotnet11-aot`, `go-nethttp` and `node-fastify` | 22.69 [18.60–24.06] · #5–8 | 46.6 [45.2–47.8] · #4–6 | 155.6 [152.8–168.0] · #9–10 | .NET 11.0.0 |
| 6–7 | TypeScript · Fastify (`node-fastify`) | 35,159 [33,869–35,212] | `dotnet11-jit` | 18.46 [17.81–22.81] · #5–8 | 56.8 [56.8–59.0] · #8 | 220.9 [210.6–225.6] · #11–13 | Fastify 5.12.8 |
| 7–8 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 32,465 [31,243–33,784] | `dotnet11-jit` | 23.75 [21.67–25.37] · #5–9 | 51.7 [51.5–55.3] · #7 | 97.2 [95.9–97.7] · #4–5 | .NET 11.0.0 |
| 9–10 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 26,108 [25,474–26,479] | `java-spring-jvm` | 84.31 [81.05–90.46] · #11–13 | 75.4 [74.5–77.5] · #9–10 | 667.2 [662.8–685.5] · #14–15 | Spring Boot 4.1.2 |
| 9–10 | Java · Spring Boot · JVM (`java-spring-jvm`) | 25,926 [25,840–26,293] | `java-spring-aotcache` | 84.57 [84.03–86.06] · #11–13 | 76.1 [75.2–76.4] · #9–10 | 677.9 [624.4–689.5] · #14–15 | Spring Boot 4.1.2 |
| 11 | TypeScript · Express (`node-express`) | 24,284 [22,910–24,506] | none | 25.30 [24.74–32.95] · #8–10 | 82.3 [81.4–87.2] · #11 | 211.3 [208.2–212.1] · #11–12 | Express 5.3.0 |
| 12 | Elixir · Plug + Bandit (`elixir-bandit`) | 19,792 [19,277–20,114] | none | 30.10 [28.76–35.88] · #9–10 | 100.8 [99.3–103.6] · #12 | 156.6 [148.5–169.9] · #9–10 | Bandit 1.15.0, Plug 1.20.4 |
| 13 | PHP · FrankenPHP (`php-frankenphp`) | 8,532 [8,464–9,368] | none | 88.38 [85.59–90.51] · #11–13 | 141.5 [130.1–142.8] · #13 | 134.8 [133.9–135.5] · #6 | FrankenPHP 1.13.5 |
| 14–15 | Python · FastAPI (`python-fastapi`) | 7,657 [7,477–7,724] | `java-spring-native` | 189.02 [183.94–190.60] · #14 | 260.9 [258.8–267.3] · #14–15 | 141.6 [141.5–142.2] · #7 | FastAPI 0.163.2 |
| 14–15 | Java · Spring Boot · Native image (`java-spring-native`) | 6,207 [5,354–7,927] (i) | `python-fastapi` | 269.66 [220.74–298.46] · #15 | 239.3 [202.3–266.9] · #14–15 | 239.8 [216.7–276.2] · #12–13 | Spring Boot 4.1.2 |

- (i) Java · Spring Boot · Native image (`java-spring-native`), Single query, 512 connections: throughput varies 15 % between passes

### Fixed load (5,000 req/s) (`rate`)

GET /db at a fixed 5,000 requests per second for every implementation (open loop, latency corrected for coordinated omission). Shows latency at normal production load instead of at saturation. Setup: GET /db, 5,000 req/s fixed, 64 connections, 20s measured.

| # | Implementation | Latency p99 (ms, lower is better) | Not separated from (by latency p99) | Throughput (req/s, higher is better) | CPU per request (µs, lower is better) | Memory under load (PSS) (MiB, lower is better) | Main version (measured 18 Nov 2026) |
|---|---|---|---|---|---|---|---|
| 1 | Rust · axum (`rust-axum`) | 0.93 [0.92–0.99] | none | 4,999 [4,999–4,999] · #1–15 | 116.7 [115.1–118.8] · #1 | 21.5 [20.0–22.5] · #1 | axum 0.8.9 |
| 2 | TypeScript · Bun (`bun-serve`) | 1.27 [1.16–1.31] | none | 4,999 [4,999–4,999] · #1–15 | 134.9 [126.6–135.4] · #2 | 59.8 [57.8–60.9] · #3–4 | Bun 1.4.4 |
| 3 | C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`) | 1.34 [1.33–1.37] | none | 4,999 [4,999–4,999] · #1–15 | 239.4 [235.3–242.2] · #10–12 | 124.1 [119.2–125.0] · #6 | .NET 10.0.15 |
| 4 | C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`) | 1.50 [1.47–1.53] | none | 4,999 [4,999–4,999] · #1–15 | 221.4 [215.9–223.4] · #6–9 | 62.3 [58.3–63.6] · #3–5 | .NET 10.0.15 |
| 5–7 | C# · ASP.NET Core 11 · JIT (`dotnet11-jit`) | 1.70 [1.58–1.88] | `dotnet11-aot` and `go-nethttp` | 4,999 [4,999–4,999] · #1–15 | 213.9 [191.2–216.7] · #4–9 | 129.4 [126.9–131.7] · #7 | .NET 11.0.0 |
| 5–7 | C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`) | 1.78 [1.77–1.81] | `dotnet11-jit` and `go-nethttp` | 4,999 [4,999–4,999] · #1–15 | 224.9 [170.5–228.7] · #3–9 | 65.1 [62.4–66.7] · #4–5 | .NET 11.0.0 |
| 5–8 | Go · net/http (`go-nethttp`) | 1.86 [1.65–1.93] | `dotnet11-aot`, `dotnet11-jit` and `node-fastify` | 4,999 [4,999–5,000] · #1–15 | 170.9 [163.9–172.8] · #3–4 | 41.9 [40.9–42.3] · #2 | Go 1.27.4 |
| 7–8 | TypeScript · Fastify (`node-fastify`) | 1.90 [1.88–2.07] | `go-nethttp` | 4,999 [4,999–4,999] · #1–15 | 211.7 [184.1–215.7] · #4–8 | 221.6 [210.0–225.1] · #11–13 | Fastify 5.12.8 |
| 9–10 | TypeScript · Express (`node-express`) | 2.53 [2.47–2.66] | `java-spring-aotcache` | 4,999 [4,999–4,999] · #1–15 | 253.7 [230.3–257.1] · #10–13 | 212.2 [209.1–213.3] · #11–13 | Express 5.3.0 |
| 9–12 | Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`) | 2.83 [2.64–5.39] | `elixir-bandit`, `java-spring-native` and `node-express` | 4,999 [4,999–4,999] · #1–15 | 209.7 [207.0–210.8] · #4–8 | 671.4 [664.9–686.9] · #14–15 | Spring Boot 4.1.2 |
| 10–12 | Elixir · Plug + Bandit (`elixir-bandit`) | 4.87 [4.77–5.80] | `java-spring-aotcache` and `java-spring-native` | 4,999 [4,999–4,999] · #1–15 | 265.4 [257.9–266.6] · #13–14 | 151.3 [142.0–165.7] · #9–11 | Bandit 1.15.0, Plug 1.20.4 |
| 12–15 | Java · Spring Boot · JVM (`java-spring-jvm`) | 6.95 [6.40–17.00] | `java-spring-native`, `php-frankenphp` and `python-fastapi` | 4,999 [4,999–4,999] · #1–15 | 211.6 [209.9–217.0] · #4–9 | 680.0 [624.4–689.6] · #14–15 | Spring Boot 4.1.2 |
| 12–14 | PHP · FrankenPHP (`php-frankenphp`) | 7.78 [7.57–8.27] | `java-spring-jvm` and `java-spring-native` | 4,999 [4,999–4,999] · #1–15 | 241.5 [233.6–242.2] · #10–12 | 133.2 [132.3–133.8] · #8 | FrankenPHP 1.13.5 |
| 13–15 | Python · FastAPI (`python-fastapi`) | 14.19 [13.85–21.94] | `java-spring-jvm` and `java-spring-native` | 5,000 [4,999–5,000] · #1–15 | 294.2 [292.9–300.3] · #15 | 141.6 [141.5–142.2] · #9–10 | FastAPI 0.163.2 |
| 10–15 | Java · Spring Boot · Native image (`java-spring-native`) | 38.56 [5.12–41.99] | `elixir-bandit`, `java-spring-aotcache`, `java-spring-jvm`, `php-frankenphp` and `python-fastapi` | 4,999 [4,998–4,999] · #1–15 | 267.6 [250.2–271.0] · #12–14 | 174.9 [146.4–284.5] · #10–13 | Spring Boot 4.1.2 |

Not measured in this run: Soak (5 minutes) (`soak`).

## Implementations

Categories: bare: no framework: the runtime or server with hand-written routing; micro: a minimal framework or the standard library HTTP server; framework: a mainstream web framework used the way its documentation recommends; fullstack: a full application framework with dependency injection, data access and more. Compare like with like.

- **TypeScript · Bun (`bun-serve`)**: TypeScript, Bun, Bun.serve; category bare. Bun's built-in HTTP server and built-in PostgreSQL client (Bun.SQL), no dependencies. Measured versions: language TypeScript, runtime 1.4.4, framework built-in. ([page](backend/bun-serve/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/bun-serve))
  - Two processes sharing the port via SO_REUSEPORT, each with an 8-connection pool.
  - /db and /list send their query through the shared Bun.sql pool. Bun's documentation suggests that it may pipeline queries of concurrent requests on one connection when prepared statements are enabled; this is the runtime's default behaviour and has not been verified by a packet capture.
- **C# · ASP.NET Core 10 LTS · Native AOT (`dotnet10-aot`)**: C#, .NET 10, ASP.NET Core minimal API; category micro. ASP.NET Core minimal API on .NET 10 LTS, compiled ahead of time to a native executable. Measured versions: language C# 14, runtime 10.0.15, sdk 10.0.404, npgsql 10.0.3. ([page](backend/dotnet10-aot/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/dotnet10-aot))
  - Same source as the .NET 11 variants.
  - Npgsql automatic preparation enabled (Max Auto Prepare=10, Auto Prepare Min Usages=1): Npgsql prepares nothing by default, and every other stack uses prepared statements.
- **C# · ASP.NET Core 10 LTS · JIT (`dotnet10-jit`)**: C#, .NET 10, ASP.NET Core minimal API; category micro. ASP.NET Core minimal API on .NET 10 (LTS until November 2028) with the JIT. Measured versions: language C# 14, runtime 10.0.15, sdk 10.0.404, npgsql 10.0.3. ([page](backend/dotnet10-jit/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/dotnet10-jit))
  - Same source as the .NET 11 variants.
  - Npgsql automatic preparation enabled (Max Auto Prepare=10, Auto Prepare Min Usages=1): Npgsql prepares nothing by default, and every other stack uses prepared statements.
- **C# · ASP.NET Core 11 · Native AOT (`dotnet11-aot`)**: C#, .NET 11, ASP.NET Core minimal API; category micro. The same ASP.NET Core minimal API on .NET 11, compiled ahead of time to a native executable. Measured versions: language C# 15, runtime 11.0.0, sdk 11.0.100, npgsql 10.0.3. ([page](backend/dotnet11-aot/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/dotnet11-aot))
  - Same source as dotnet11-jit; only the publish mode differs.
  - Npgsql automatic preparation enabled (Max Auto Prepare=10, Auto Prepare Min Usages=1): Npgsql prepares nothing by default, and every other stack uses prepared statements.
- **C# · ASP.NET Core 11 · JIT (`dotnet11-jit`)**: C#, .NET 11, ASP.NET Core minimal API; category micro. ASP.NET Core minimal API on .NET 11 (STS) with the JIT, Npgsql and System.Text.Json source generation. Measured versions: language C# 15, runtime 11.0.0, sdk 11.0.100, npgsql 10.0.3. ([page](backend/dotnet11-jit/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/dotnet11-jit))
  - Server GC and tiered PGO at their defaults.
  - Npgsql automatic preparation enabled (Max Auto Prepare=10, Auto Prepare Min Usages=1): Npgsql prepares nothing by default, and every other stack uses prepared statements.
- **Elixir · Plug + Bandit (`elixir-bandit`)**: Elixir, BEAM (Erlang/OTP 29), Plug on Bandit; category micro. Plug router on the Bandit HTTP server (the server Phoenix uses), Postgrex with prepared statements reused like Ecto does. Measured versions: language 1.20.5, runtime OTP 29, framework Bandit 1.15.0, Plug 1.20.4, postgrex 0.22.4. ([page](backend/elixir-bandit/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/elixir-bandit))
  - Released with mix release; BEAM schedulers follow the container CPU limit.
  - Scheduler busy waiting disabled (+sbwt none +sbwtdcpu none +sbwtdio none in rel/vm.args.eex), the usual setting for CPU-limited containers, so idle schedulers do not spend the CPU quota while waiting for the database.
  - Postgrex pool of 16 connections with queue_target 5 s and queue_interval 10 s, so requests wait for a free connection like in the other stacks instead of being dropped by the DBConnection defaults (50 ms / 1 s).
- **Go · net/http (`go-nethttp`)**: Go, Go, net/http; category bare. Go standard library HTTP server (method routing since Go 1.22) with the pgx connection pool. Measured versions: language 1.27.4, framework stdlib, pgx 5.13.0, base_image gcr.io/distroless/static-debian13. ([page](backend/go-nethttp/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/go-nethttp))
  - GOMAXPROCS follows the container CPU limit automatically (Go 1.25+).
  - Each statement checks a connection out of the pgxpool (pool.QueryRow, pool.Exec), so /queries and /updates take one checkout per statement rather than one per request (idiomatic pgxpool usage without a transaction).
- **Java · Spring Boot · JVM + AOT cache (`java-spring-aotcache`)**: Java, JVM (HotSpot), Spring Boot (Spring MVC); category fullstack. The same Spring Boot service with a Project Leyden AOT cache created by a training run at build time (JEP 514/515). Measured versions: language Java 25 (bytecode), Java 27 runtime, runtime 27.0.1, framework Spring Boot 4.1.2. ([page](backend/java-spring-aotcache/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/java-spring-aotcache))
  - The training run stops after context refresh, so the cache holds start-up classes and profiles.
  - Heap limited to 50 % of the container memory limit (-XX:MaxRAMPercentage=50, 512 MiB of 1 GiB) instead of the JDK default of 25 %, as production images usually do; default GC. Reported memory is bounded by this heap setting.
  - JdbcClient without a transaction checks a HikariCP connection out per statement, so /queries and /updates take one checkout per statement rather than one per request (idiomatic without a transaction).
- **Java · Spring Boot · JVM (`java-spring-jvm`)**: Java, JVM (HotSpot), Spring Boot (Spring MVC); category fullstack. Spring Boot with Spring MVC on virtual threads, JdbcClient and HikariCP (16 connections), running on the Java 27 JVM. Measured versions: language Java 25 (bytecode), Java 27 runtime, runtime 27.0.1, framework Spring Boot 4.1.2. ([page](backend/java-spring-jvm/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/java-spring-jvm))
  - Virtual threads enabled (spring.threads.virtual.enabled).
  - Heap limited to 50 % of the container memory limit (-XX:MaxRAMPercentage=50, 512 MiB of 1 GiB) instead of the JDK default of 25 %, as production images usually do; default GC. Reported memory is bounded by this heap setting.
  - JdbcClient without a transaction checks a HikariCP connection out per statement, so /queries and /updates take one checkout per statement rather than one per request (idiomatic without a transaction).
- **Java · Spring Boot · Native image (`java-spring-native`)**: Java, GraalVM Native Image, Spring Boot (Spring MVC); category fullstack. The same Spring Boot service compiled to a native executable with GraalVM Community Edition. Measured versions: language Java 25, runtime GraalVM CE 25.0.2, framework Spring Boot 4.1.2. ([page](backend/java-spring-native/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/java-spring-native))
  - Community Edition uses the Serial GC and no profile-guided optimization; Oracle GraalVM would be faster.
  - JdbcClient without a transaction checks a HikariCP connection out per statement, so /queries and /updates take one checkout per statement rather than one per request (idiomatic without a transaction).
- **TypeScript · Express (`node-express`)**: TypeScript, Node.js, Express; category micro. Express 5 on Node.js 26 LTS, TypeScript executed directly via type stripping, node-postgres with named prepared statements. Measured versions: language TypeScript (type stripping), runtime 26.13.1, framework 5.3.0, pg 8.23.1. ([page](backend/node-express/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/node-express))
  - Two worker processes (node:cluster), one per CPU, each with an 8-connection pool.
- **TypeScript · Fastify (`node-fastify`)**: TypeScript, Node.js, Fastify; category micro. Fastify on Node.js 26 LTS, TypeScript executed directly via type stripping, node-postgres with named prepared statements. Measured versions: language TypeScript (type stripping), runtime 26.13.1, framework 5.12.8, pg 8.23.1. ([page](backend/node-fastify/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/node-fastify))
  - Two worker processes (node:cluster), one per CPU, each with an 8-connection pool.
- **PHP · FrankenPHP (`php-frankenphp`)**: PHP, FrankenPHP (worker mode), none; category bare. Plain PHP with PDO in FrankenPHP worker mode: no framework. Laravel or Symfony would add considerable overhead. Measured versions: language 8.5.12, runtime FrankenPHP 1.13.5, framework none. ([page](backend/php-frankenphp/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/php-frankenphp))
  - 16 worker threads, each with one persistent PDO connection and prepared statements.
  - Category 'bare': compare with other bare or micro implementations.
- **Python · FastAPI (`python-fastapi`)**: Python, CPython, FastAPI; category framework. FastAPI with Pydantic validation on uvicorn (uvloop, httptools) and asyncpg. Measured versions: language 3.15.2, runtime CPython 3.15.2, framework 0.163.2, uvicorn 0.54.0, asyncpg 0.32.0. ([page](backend/python-fastapi/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/python-fastapi))
  - Two uvicorn worker processes, one per CPU, each with an 8-connection pool.
  - Standard (GIL) CPython build.
- **Rust · axum (`rust-axum`)**: Rust, Tokio, axum; category micro. axum on the multi-threaded Tokio runtime with tokio-postgres and a deadpool connection pool (16 connections, cached prepared statements). Measured versions: language 1.100.0, framework 0.8.9, tokio 1.54.1, tokio-postgres 0.7.18, base_image gcr.io/distroless/cc-debian13. ([page](backend/rust-axum/) · [source](https://github.com/Cripacx/benchmania/tree/main/domains/backend/implementations/rust-axum))
  - Release build with thin LTO and one codegen unit.

## Methodology

Checks and what they do:

- Functional checks before measuring: values, shapes, content types, persisted updates, totals, rejected invalid input. Effect: Implementation is excluded from the run.
- Database statements per request (pg_stat_statements) deviate more than 3 % from the scenario specification. Effect: Result flagged.
- Errors during a measurement (socket errors, timeouts, non-2xx/3xx). Effect: Result flagged with count and rate; failed requests never count as throughput.
- More than 1 % failed requests or a throughput of zero in one of the workloads behind an index. Effect: No index for that implementation; its scenario results stay visible.
- Load generator CPU above 90 %. Effect: Throughput flagged as a lower bound.
- Database CPU above 90 % of its cores. Effect: Flagged: the database limits the throughput, not only the service.
- Fixed-rate scenario reaches less than 97 % of the target rate. Effect: Result flagged: latency then describes queueing, not the service.

Limitations:

- Start-up time includes docker start. The overhead is identical for every implementation but means the numbers are not process start times.
- CPU package energy covers the whole package, including the database and the load generator; compare it within one run only.
- Memory (PSS) is sampled once per second, so very short spikes can be missed. The cgroup's anonymous-memory peak complements it.
- The load generator and the database share the machine. Their CPU use is measured and flagged when it could limit throughput.
- Workloads are synthetic, shaped after common production endpoints; pool sizes and worker counts are documented on each implementation page.
- Categories matter: a bare server without a framework does less work than a full-stack framework. Compare like with like.

[Methodology on the website](methodology/#domain-backend) · [domain document](https://github.com/Cripacx/benchmania/blob/main/docs/methodology.md)

## Other runs of this domain

| Run | Measured | Machine | Who | Methodology | Passes | Scope | Markdown |
|---|---|---|---|---|---|---|---|
| `20261117T2323Z-d82776-legacy` | 17 Nov 2026 | Intel Xeon W-2133 · 6 cores / 12 threads · bare metal | reference | 0 | 3 | every implementation, every scenario | [20261117T2323Z-d82776-legacy.md](backend/runs/20261117T2323Z-d82776-legacy.md) |

## Data and tools

- Every metric of every run, as JSON: [data/backend.json](data/backend.json) (field reference: [data page](data/)).
- Command line, in a checkout or after installing: `benchmania results backend` prints this page for the default run, `--run <id>` another run, `--impl <ids>` and `--scenario <ids>` narrow it, and `benchmania results <bundle.json>` reads a bundle you measured yourself.
- How to read and quote these results, for every domain: [llms.txt](llms.txt).
- Data license: CC-BY-4.0.
