Sharkbench

Benchmarking programming languages and web frameworks

Spring Boot: MVC vs WebFlux

Spring Boot is an open-source Java framework for building standalone, production-grade Spring-based applications with minimal configuration. It extends the Spring platform with convention-over-configuration principles to minimize boilerplate code. Spring Boot is widely used for microservices, web applications, and enterprise projects due to its robustness and extensive ecosystem.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.

OS: Linux/DockerCPU: Ryzen 7 7800X3DLast Updated: 2025-05-04

Semeru

Using Semeru, WebFlux processes 3.06x requests per second compared to MVC, a 205.90% improvement.
Mode
Requests per second
Latency
Stability
Memory
7051 (+205.90 %)
1.2 ms (+16.35 %)
1.64 % (+0.58 %)
130.4 MB (-17.21 %)
2305
1.1 ms
1.06 %
157.5 MB

Temurin

Using Temurin, WebFlux processes 5.26x requests per second compared to MVC, a 426.06% improvement.
Mode
Requests per second
Latency
Stability
Memory
5813 (+426.06 %)
0.8 ms (-56.18 %)
0.86 % (-0.81 %)
634.2 MB (+6.27 %)
1105
1.7 ms
1.67 %
596.8 MB

All results

MedianP99
Framework
Requests per second
Latency
Stability
Memory
5813
0.8 ms
0.86 %
634.2 MB
1105
1.7 ms
1.67 %
596.8 MB
5636
0.8 ms
0.87 %
598.6 MB
5410
0.8 ms
0.89 %
629.9 MB
1032
1.9 ms
0.99 %
514.1 MB
1046
1.5 ms
1.37 %
618.5 MB
5020
0.8 ms
0.92 %
1.5 GB
975
2.0 ms
1.02 %
1.3 GB
5472
0.8 ms
0.88 %
1.6 GB
1056
1.9 ms
0.96 %
1.6 GB
7051
1.2 ms
1.64 %
130.4 MB
2305
1.1 ms
1.06 %
157.5 MB
7066
1.2 ms
1.64 %
148.9 MB
1453
1.1 ms
1.09 %
156.9 MB

Popular web frameworks

How does Spring Boot compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
21030
1.6 ms
71.96 %
8.5 MB
14707
1.2 ms
2.64 %
136.5 MB
7051
1.2 ms
1.64 %
130.4 MB
5813
0.8 ms
0.86 %
634.2 MB
5766
5.5 ms
64.50 %
82.5 MB
3546
1.0 ms
1.14 %
16.7 MB
2305
1.1 ms
1.06 %
157.5 MB
1185
21.0 ms
21.21 %
41.2 MB
1105
1.7 ms
1.67 %
596.8 MB
1092
7.7 ms
9.22 %
90.3 MB
950
8.8 ms
10.33 %
130.1 MB
299
101.7 ms
56.47 %
84.2 MB

© 2025 Tien Do Nam