Method

How it is measured

A summary of the method, generated from the configuration and rules the results carry. The README has the full method, the reasons behind each rule and its history.

What is measured

Tier 1 endpoints
  • /text
  • /json
  • /db-single
  • /html
  • /queries?queries=20
  • /fortunes
  • GET /world/{id}
  • GET /worlds
  • POST /form
  • GET /me
  • /updates?queries=20
  • PUT /world/{id}
125 connections for 10 s each
Load tiers
Tier 2: /json with 300 connections for 30 s; Tier 3: /json with 200 connections for 15 s; Tier 4: /json with 500 connections for 120 s
Server limits
2 vCPUs and 2 GiB of RAM per server; database pool of 16 connections
Warm-up
5 s per endpoint, 15 s for runtimes with a JIT compiler
Database
PostgreSQL 18.6 on the same machine; 10,000 rows in world; max 200 connections
Load generator
wrk 4.2.0 (make WITH_OPENSSL=/usr VER=4.2.0 (bundled LuaJIT 2.1, system OpenSSL))
Rounds
5 rounds on each of 3 jobs per implementation, in ABBA order against Axum on the same runner

What is measured · Method · CPU split

How the scores are computed

The rules as the results state them (rankings.method in latest.json):

Categories
Hello world, Database and Application are throughput categories; Memory and Startup are costs scored as Axum's value / the implementation's; Stability (Tiers 2 and 4) is a pass, warn or fail check without a score
Errors
a run whose median error rate is above 1% (any response that is not 2xx, any transport error or timeout) has no score in its category; the cell shows the error rate
Floors
Memory counts every high-water mark as at least 64 MiB and Startup every time as at least 1 s, so that differences far below what matters in production do not move the scores
Incomplete
an implementation without a value for every run of a category (not measured, not served according to its bench.json "endpoints", or left out by a correction) has no position in it
Limits
a run is client-bound when the vCPUs the load generator and PostgreSQL share were at least 90% busy; it is PostgreSQL-bound when PostgreSQL used more of them than the load generator, and load-generator-bound otherwise
Not comparable
a run whose round pairs were mostly not comparable (see ratios) has no score in its category
Overall
the weighted geometric mean of the five category scores (config.json scoring.overall_weights: Hello world, Database and Application twice, Memory and Startup once, because the Memory and Startup floors make most native implementations tie there), with the same tie margins and position ranges; published when config.json scoring.publish_overall is true, with a sensitivity table of the positions under other weightings, equal weights included; the categories are the result, the overall score a summary for quick reading
Ratios
medians of the per-round ratios to Axum measured on the same runner, pooled over every job (runner) of an implementation; each throughput run counts with its capacity ratio: the requests/s ratio, or, when either side was client-bound, the CPU-cost ratio (requests per CPU-second of the server and PostgreSQL together); a side limited by the load generator while its server used less than 75% of its vCPUs makes that round pair not comparable
Roles
Axum is the reference (1.00); diagnostics (for example Rullst's minimal configuration) and the A/A control are listed next to it, with a score and without a position
Ties
two scores tie when their gap in natural-log units is at most the largest of (a) the A/A margin (the largest deviation from 1.00 of the A/A control's scores, per job and pooled), (b) the root of the sum of squares of the two implementations' between-job spreads (the half-range of the logarithms of their per-job scores) and (c) the pooled floor (the median spread of the ranked implementations measured on at least two jobs); an implementation whose jobs all ran on one CPU model counts with at least the floor as its spread, one measured on a single job with the floor, and each run in which most round pairs had one side PostgreSQL-bound and the other not adds the change in CPU cost with the load measured for its endpoint (README, CPU split: 7% for single-query reads, 2% for /fortunes, a third for /queries and the writes) divided by the category's number of runs to the spread (root of the sum of squares); the scores are sorted and a new group starts only where two neighbouring scores are further apart than their margin, so neighbours within their margin always share a group, and every member gets the range of positions the group occupies; a score within max(a, its spread, c) of 1.00 is marked as indistinguishable from Axum; in Startup, neighbouring times within the readiness poll interval also share a group

How the scores are computed

Environment

Runners
GitHub-hosted, 4 vCPUs and 16 GiB of RAM each; client, server and PostgreSQL share the machine; the server's two vCPUs were the two SMT threads of one physical core on every runner
Runner CPUs (jobs)
  • EPYC 9V74 ×19
  • EPYC 7763 ×17
  • EPYC 9V45 ×6
  • Xeon 6975P-C ×5
  • Xeon PLATINUM 8573C ×3
  • Xeon Platinum 8370C CPU @ 2.80GHz ×1
Operating system
Ubuntu 26.04.1 LTS, kernel 7.0.0-1020-azure
Runner image
ubuntu26 20261122.9.1
Docker
client 29.4.2, server 29.4.2
PostgreSQL image
postgres:18.6-alpine3.24@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b

Publication gate

Passed: an automatic run may publish these results.

Automatic updates and the publication gate

Fairness, authorship and limitations

Fairness

One rule for every implementation, Rullst included: what the framework's own documentation recommends for production. Defaults still differ between stacks, and the results show them.

Authorship

One person, the maintainer of Rullst, wrote every implementation, with the help of AI coding assistants, and designed the method. Reviews from people who run these frameworks in production are welcome.

Limitations

Shared virtual runners with different CPU models, a load generator that cannot saturate the fastest servers, short tiers, one small machine over loopback, small endpoints.

What it does not measure

Logins and password hashing, large request bodies, one common session store, real deployments with TLS and network latency, scaling beyond 2 vCPUs, latency at a fixed request rate, JIT steady state, a database on another host, HTTP/2 and compression.