HttpArena

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.

ProfileConnsvertx-graalvmvertxDeltavertx-graalvm p99vertx p99
Requests per second
Baseline4,0962,439,9082,538,173-4%4.81ms4.29ms
Pipelined4,09613,243,91312,535,817+6%12.20ms11.50ms
Short-lived4,0961,836,2641,793,628+2%10.30ms8.94ms
Async Delay32,0002,111,9492,155,507-2%26.40ms24.20ms
JSON Comp4,096326,026287,729+13%31.50ms36.70ms
JSON Comp16,384325,800288,173+13%88.80ms105.60ms
JSON TLS4,096832,674824,708+1%71.07ms64.91ms
Static TLS1,024224,255203,239+10%33.40ms49.42ms
Async DB1,024151,603151,9990%34.50ms36.30ms
JSON (h2c)1,0241,464,3981,369,239+7%50.85ms47.85ms
JSON (h2c)4,0961,446,5101,373,901+5%166.31ms164.11ms
Fixed-rate profiles: score out of 100
Latency-10K1,02475.277.2-3%113us112us
Latency-1M1,02480.880.50%210us220us
8Gbit51276.473.0+5%143us191us

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

Results updated · Java composite ranking · Compare across languages · Other languages · Open the leaderboard