Sharkbench

Benchmarking programming languages and web frameworks

Quarkus (Java)
Quarkus is a Kubernetes-native Java framework tailored for GraalVM and OpenJDK, crafted from best-of-breed Java libraries and standards. It is designed to offer a unified reactive and imperative programming model to optimize Java specifically for containers and serverless environments.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Java (OpenJDK v21) / Quarkus v3 (Reactive)
12062
1.4 ms
3.21 %
182.9 MB
Java (OpenJDK v21) / Quarkus v3 (Imperative)
10076
1.6 ms
3.33 %
186.8 MB
Java (OpenJDK v17) / Quarkus v3 (Reactive)
12427
1.4 ms
3.19 %
167.5 MB
Java (OpenJDK v17) / Quarkus v3 (Imperative)
10277
1.6 ms
3.35 %
173.0 MB

About Java

Paradigm

Object-Oriented, Imperative

Execution

JIT, AOT

Typing

Static

Null Safety

NO

Memory Management

Garbage Collection

Java is a widely-used, versatile programming language developed by Sun Microsystems, now owned by Oracle Corporation. Java supports the development of applications ranging from small mobile applications to large enterprise systems and is known for its portability, high performance, and robust security features. Its object-oriented structure promotes a clean, modular approach to programming, which is ideal for building scalable and maintainable software solutions.

Java web frameworks

MedianP99
Framework
Requests per second
Latency
Stability
Memory
Java (Temurin) / Vert.x
21555
1.4 ms
51.78 %
202.5 MB
Java (Semeru) / Vert.x
15217
2.0 ms
56.80 %
133.3 MB
Java (OpenJDK) / Quarkus (Reactive)
12062
1.4 ms
3.21 %
182.9 MB
Java (Temurin) / Spring Boot (WebFlux)
10429
1.4 ms
2.72 %
187.2 MB
Java (OpenJDK) / Quarkus (Imperative)
10076
1.6 ms
3.33 %
186.8 MB
Java (Temurin) / Spring Boot (MVC)
8951
1.7 ms
3.39 %
205.4 MB
Java (Semeru) / Spring Boot (WebFlux)
8077
1.7 ms
2.84 %
146.9 MB
Java (Semeru) / Spring Boot (MVC)
6894
2.0 ms
3.65 %
145.1 MB

© 2024 Tien Do Nam