Implementation

NestJS

NestJS 12.5.0 · TypeScript · Full-stack frameworks · ranked

frameworks/nestjs on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello world80.33*±27.8%
Database8–100.58*±21.8%
Application9–100.32*±20.1%
Memory (high-water mark)120.25±2.2%
Startup1–130.75±26.8%

Runner CPUs: EPYC 9V45, EPYC 9V74, EPYC 9V74

Settings

Runtime
Node.js 26.13.1 LTS, NODE_ENV=production, compiled with nest build (tsc)
Server
Nest NodeAdapter (@nestjs/platform-node, on node:http)
Workers
node:cluster, one process per vCPU (2)
Database layer
TypeORM 1.1 via @nestjs/typeorm with pg, 8 connections per process (16 in total)
Templates
hbs 4.4 (Handlebars)
Logging
none per request (Nest has no request logger); start-up log per process
Dependency source
–
Status
measured

Application endpoints: mechanisms

Validation
ParseIntPipe for the id; ValidationPipe with class-validator DTOs for the query, the JSON body and the form: 400
CSRF
fetch-metadata (built-in): app.enableCsrfProtection() (Sec-Fetch-Site, then Origin against Host; 403)
Session store
postgresql (documented): express-session 1.19 with connect-pg-simple 10 (the documented session middleware with its PostgreSQL store), on /form, /login and /me only

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
/text61,494 (60,403–129,425)0.3730,7653.760
/json55,131 (53,940–121,847)0.3427,6122.830
/db-single12,627 (12,214–22,738)0.686,73721.350PostgreSQL-bound 15/15
/html46,881 (45,832–104,205)0.2923,4503.160
/queries?queries=20599 (572–1,000)0.54414265.050
/fortunes11,771 (10,721–21,579)0.425,89134.050
GET /world/{id}12,107 (11,662–21,720)0.686,20020.390PostgreSQL-bound 15/15
GET /worlds8,547 (7,402–14,838)0.614,31536.270PostgreSQL-bound 13/15
POST /form13,027 (12,815–29,073)0.156,52120.400
GET /me4,219 (3,927–7,538)0.442,60047.750PostgreSQL-bound 15/15
/updates?queries=20309 (296–519)0.64230465.810
PUT /world/{id}3,807 (3,504–6,232)0.261,93657.020

Measured versions

Runner jobs

Each job ran on its own GitHub-hosted runner; the CPU model differs between jobs.
JobCPU modelRoundsStatus
1EPYC 9V455measured
2EPYC 9V745measured
3EPYC 9V745measured