Implementation

Spring Boot

Spring Boot 4.1.2 · Java · Full-stack frameworks · ranked

frameworks/spring-boot on GitHub

Scores

Score relative to Axum (1.00×, higher is better) and position among the 14 ranked implementations; Stability: pass.
CategoryPositionScore±
Hello world90.21*±31.9%
Database8–100.67*±5.2%
Application80.43*±15.7%
Memory (high-water mark)140.14±9.5%
Startup140.18±20.9%

Runner CPUs: EPYC 9V74, EPYC 7763, EPYC 9V74

Settings

Runtime
Java 25 (Eclipse Temurin 25.0.5 JRE), layered executable jar, no JVM flags
Server
Spring MVC on embedded Tomcat 11 (the starter's default)
Workers
Tomcat's default request thread pool (up to 200 threads); JVM ergonomics for 2 vCPUs and 2 GiB
Database layer
Spring Data JPA (Hibernate 7.4), HikariCP pool of 16 connections
Templates
Thymeleaf 3.1
Logging
none per request (Tomcat's access log is off by default); start-up log at INFO
Dependency source
–
Status
measured

Application endpoints: mechanisms

Validation
@PathVariable int, @RequestParam with @Min/@Max (Spring MVC method validation), @Valid @RequestBody and @Valid @ModelAttribute records (spring-boot-starter-validation): 400
CSRF
token (built-in): Spring Security CSRF protection (token in the HttpSession, XOR-masked _csrf field added by Thymeleaf's th:action; a garbled token answers 403 instead of 7.1.2's 500)
Session store
memory (built-in): Spring Security form login, SecurityContext in Tomcat's in-memory HttpSession

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
/text35,766 (18,794–43,485)0.2218,11216.770
/json38,325 (27,183–46,706)0.2519,43619.370
/db-single8,611 (5,459–10,367)0.504,31294.660
/html26,782 (10,559–30,371)0.1713,46957.390
/queries?queries=201,354 (726–1,460)1.30712199.870PostgreSQL-bound 11/15
/fortunes4,036 (2,769–4,359)0.162,022171.730
GET /world/{id}10,204 (6,764–12,386)0.615,13071.390
GET /worlds8,130 (5,885–9,340)0.654,08093.040
POST /form6,666 (4,273–7,376)0.083,344304.090
GET /me10,137 (6,046–10,855)1.145,08568.490
/updates?queries=20707 (459–758)1.54714336.910PostgreSQL-bound 15/15
PUT /world/{id}8,127 (4,907–8,930)0.594,148102.260PostgreSQL-bound 8/15

Measured versions

Runner jobs

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