Java web framework comparison: any two, head to head
vertx-graalvm is ahead of vertx on 10 of the 14 tests they both run, and behind on 4. On the HTTP/1.1 composite vertx-graalvm scores 4363 and vertx 4337.
Pick any two of the 14 Java entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.
| Profile | Conns | vertx-graalvm | vertx | Delta | vertx-graalvm p99 | vertx p99 |
|---|---|---|---|---|---|---|
| Requests per second | ||||||
| Baseline | 4,096 | 2,439,908 | 2,538,173 | -4% | 4.81ms | 4.29ms |
| Pipelined | 4,096 | 13,243,913 | 12,535,817 | +6% | 12.20ms | 11.50ms |
| Short-lived | 4,096 | 1,836,264 | 1,793,628 | +2% | 10.30ms | 8.94ms |
| Async Delay | 32,000 | 2,111,949 | 2,155,507 | -2% | 26.40ms | 24.20ms |
| JSON Comp | 4,096 | 326,026 | 287,729 | +13% | 31.50ms | 36.70ms |
| JSON Comp | 16,384 | 325,800 | 288,173 | +13% | 88.80ms | 105.60ms |
| JSON TLS | 4,096 | 832,674 | 824,708 | +1% | 71.07ms | 64.91ms |
| Static TLS | 1,024 | 224,255 | 203,239 | +10% | 33.40ms | 49.42ms |
| Async DB | 1,024 | 151,603 | 151,999 | 0% | 34.50ms | 36.30ms |
| JSON (h2c) | 1,024 | 1,464,398 | 1,369,239 | +7% | 50.85ms | 47.85ms |
| JSON (h2c) | 4,096 | 1,446,510 | 1,373,901 | +5% | 166.31ms | 164.11ms |
| Fixed-rate profiles: score out of 100 | ||||||
| Latency-10K | 1,024 | 75.2 | 77.2 | -3% | 113us | 112us |
| Latency-1M | 1,024 | 80.8 | 80.5 | 0% | 210us | 220us |
| 8Gbit | 512 | 76.4 | 73.0 | +5% | 143us | 191us |
Common comparisons
vertx-graalvm vs vertx · vertx-graalvm vs micronaut-tuned · vertx-graalvm vs micronaut · vertx vs micronaut-tuned · vertx vs micronaut · micronaut-tuned vs micronaut
Questions
Is vertx-graalvm faster than vertx?
vertx-graalvm is ahead of vertx on 10 of the 14 tests they both run, and behind on 4. On the HTTP/1.1 composite vertx-graalvm scores 4363 and vertx 4337. Both run on the same machine, in the same round, against the same profiles.
Is vertx-graalvm faster than micronaut-tuned?
vertx-graalvm is ahead of micronaut-tuned on 9 of the 13 tests they both run, and behind on 4. On the HTTP/1.1 composite vertx-graalvm scores 4363 and micronaut-tuned 3706. Both run on the same machine, in the same round, against the same profiles.
Is vertx-graalvm faster than micronaut?
vertx-graalvm is ahead of micronaut on 10 of the 10 tests they both run. On the HTTP/1.1 composite vertx-graalvm scores 4363 and micronaut 2979. Both run on the same machine, in the same round, against the same profiles.
Is vertx faster than micronaut-tuned?
vertx is ahead of micronaut-tuned on 9 of the 13 tests they both run, and behind on 4. On the HTTP/1.1 composite vertx scores 4337 and micronaut-tuned 3706. Both run on the same machine, in the same round, against the same profiles.
Which Java framework is fastest overall?
Among the Java web frameworks, vertx-graalvm holds the highest HTTP/1.1 composite, at 4363; among the Java HTTP engines, cardigan holds the highest HTTP/1.1 composite, at 5338; among the experimental Java frameworks, aegon-java holds the highest HTTP/1.1 composite, at 4083. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.
Every Java entry
- vertx-graalvm
- vertx
- micronaut-tuned
- micronaut
- micronaut-production
- helidon-tuned
- helidon-production
- quarkus-jvm
- armeria
- jooby
- spring-boot
- cardigan
- aegon-java
- wastnet
Results updated · Java composite ranking · Compare across languages · Other languages · Open the leaderboard