Implementation

ASP.NET Core

ASP.NET Core 10.0.15 · C# · Full-stack frameworks · ranked

frameworks/aspnet-core on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello world3–70.47±8.4%
Database8–100.52*±22.3%
Application9–100.34*±16.0%
Memory (high-water mark)80.50±3.2%
Startup1–131.00≈±0.0%

Runner CPUs: Xeon PLATINUM 8573C, Xeon PLATINUM 8573C, EPYC 7763

Settings

Runtime
.NET 10.0.15 (Release build, framework-dependent publish)
Server
Kestrel
Workers
.NET thread pool sized by the runtime for 2 vCPUs; Server GC (the ASP.NET Core default)
Database layer
Entity Framework Core 10.0 with the Npgsql provider, pool of 16 connections, Npgsql automatic preparation (Max Auto Prepare=20)
Templates
Razor Pages
Logging
none per request (Microsoft.AspNetCore and EF Core command logs at Warning); start-up log at Information
Dependency source
–
Status
measured

Application endpoints: mechanisms

Validation
Route constraint {id:int} (404); DataAnnotations: Minimal API validation (AddValidation) for /worlds and the PUT body, Razor Pages model binding (ModelState) for /form: 400, or the form re-rendered (200)
CSRF
token (built-in): ASP.NET Core antiforgery (cookie token + __RequestVerificationToken field, Data Protection), validated by Razor Pages
Session store
cookie-encrypted (built-in): Cookie authentication (AddCookie, SignInAsync), ticket encrypted with Data Protection

Tier 1 endpoints

Medians over every round (lowest and highest round in brackets); vs Axum: the median of the per-round ratios on the same runners.
Endpointreq/svs AxumEfficiency (req/CPU-s)p99 (ms)ErrorsLimits
/text102,352 (67,756–107,692)0.5451,6272.950
/json98,085 (67,089–104,198)0.5549,4843.240
/db-single6,811 (5,195–7,127)0.313,41825.010
/html63,462 (34,070–65,799)0.3431,9604.200
/queries?queries=201,016 (586–1,066)0.76510145.830PostgreSQL-bound 15/15
/fortunes6,798 (5,205–7,372)0.243,40624.690
GET /world/{id}6,639 (5,131–7,064)0.323,33424.840
GET /worlds5,680 (4,662–6,020)0.392,85628.980
POST /form19,997 (11,580–21,216)0.2210,07510.610
GET /me5,146 (4,432–5,381)0.462,58431.380
/updates?queries=20697 (393–726)1.19371203.530PostgreSQL-bound 15/15
PUT /world/{id}4,421 (3,624–4,642)0.262,22335.580

Measured versions

Runner jobs

Each job ran on its own GitHub-hosted runner; the CPU model differs between jobs.
JobCPU modelRoundsStatus
1Xeon PLATINUM 8573C5measured
2Xeon PLATINUM 8573C5measured
3EPYC 77635measured