micronaut-tuned
Flagship · Java · engine: netty · tuned configuration · completeness 4/4
Micronaut 5.2 on the Netty HTTP server with the epoll native transport, no idle handler, request header and URL validation off, Netty bounds and leak checks off and Parallel GC. Routing, injection and argument binding are still generated at compile time, JSON goes through Micronaut Serialization and gzip through the framework compression.
Achievements
🥇 1 Gold · 🥈 1 Silver · 🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥇 Gold | Within its language | Java · HTTP/2 | 1 of 6 |
| 🥈 Silver | Within its language | Java · HTTP/1.1 | 2 of 9 |
| 🥉 Bronze | Within its language | Java · WebSocket | 3 of 4 |
Composite rank
Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 16 of 101 | 5368 |
| HTTP/2 | 6 of 34 | 1815 |
| WebSocket | 18 of 34 | 1066 |
Every result
Alpha Round, 29 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 2,125,120 | 1.93ms | 4.75ms | 6504.5% | 1.8GiB |
| Connection | Pipelined | 4,096 | 9,740,374 | 6.75ms | 12.30ms | 6228.4% | 3.7GiB |
| Connection | Short-lived | 4,096 | 626,633 | 6.50ms | 65.80ms | 3364.7% | 698MiB |
| Concurrency | Async Delay | 32,000 | 1,915,516 | 16.56ms | 28.30ms | 6167.2% | 11.0GiB |
| Efficiency | Latency-10K | 1,024 | 9,978 | 84.5us | 118.0us | 42.2% | 347MiB |
| Efficiency | Latency-1M | 1,024 | 997,628 | 154.3us | 1038.0us | 3449.2% | 835MiB |
| Efficiency | Latency-500K/8 | 1,024 | 337,122 | 3239767.4us | 6404096.0us | 782.1% | 357MiB |
| Workload | JSON Comp | 4,096 | 311,860 | 13.13ms | 34.60ms | 6236.7% | 1.7GiB |
| Workload | JSON Comp | 16,384 | 307,509 | 52.73ms | 120.10ms | 5843.2% | 3.4GiB |
| Workload | JSON TLS | 4,096 | 953,328 | 4.57ms | 161.10ms | 6484.5% | 5.7GiB |
| Workload | 8Gbit | 512 | 49,343 | 112.7us | 159.0us | 287.7% | 870MiB |
| Workload | Static TLS | 1,024 | 266,905 | 4.39ms | 65.75ms | 6339.2% | 3.3GiB |
| HTTP/2 | Baseline | 256 | 4,455,467 | 6.03ms | 36.08ms | 6316.6% | 8.3GiB |
| HTTP/2 | Baseline | 1,024 | 4,495,928 | 21.71ms | 109.66ms | 6309.1% | 10.6GiB |
| HTTP/2 | Static | 256 | 235,689 | 34.38ms | 178.19ms | 6337.2% | 7.6GiB |
| HTTP/2 | Static | 1,024 | 229,802 | 139.13ms | 484.60ms | 6131.0% | 11.0GiB |
| HTTP/2 | Baseline (h2c) | 256 | 4,559,367 | 5.82ms | 38.87ms | 6283.8% | 7.8GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 4,661,049 | 21.16ms | 83.71ms | 6323.2% | 10.4GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 4,428,444 | 86.57ms | 346.59ms | 6099.5% | 10.6GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 1,612,489 | 19.78ms | 98.08ms | 6270.8% | 4.3GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 1,628,853 | 78.15ms | 342.41ms | 6042.5% | 10.5GiB |
| WebSocket | Echo | 512 | 2,985,978 | 170us | 328us | 6483.5% | 977MiB |
| WebSocket | Echo | 4,096 | 2,824,172 | 1.45ms | 3.94ms | 6290.3% | 1.3GiB |
| WebSocket | Echo | 16,384 | 2,649,514 | 6.02ms | 12.30ms | 5981.7% | 3.6GiB |
| WebSocket | Echo Pipelined | 512 | 3,776,168 | 2.17ms | 4.29ms | 6449.7% | 1.2GiB |
| WebSocket | Echo Pipelined | 4,096 | 3,822,729 | 17.03ms | 31.20ms | 6349.8% | 2.2GiB |
| WebSocket | Echo Pipelined | 16,384 | 3,427,688 | 65.60ms | 101.90ms | 5336.1% | 5.7GiB |
| WebSocket | Echo Short-lived | 512 | 652,024 | 54us | 127us | 3296.5% | 590MiB |
| WebSocket | Echo Short-lived | 4,096 | 654,652 | 57us | 155us | 3347.7% | 950MiB |
Compared with
The Java entries around micronaut-tuned on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs micronaut-tuned | |
|---|---|---|---|
| vertx | 5493 | +2% | head to head |
| cardigan | 5248 | -2% | head to head |
| micronaut-production | 4699 | -12% | head to head |
Compare micronaut-tuned with any Java entry · Compare micronaut-tuned with any entry, in any language · Every Java entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry