Enso
Engine · Clojure
Minimal Enso engine benchmark with virtual-thread Ring handlers, HTTP/1.1, TLS, HTTP/2, H2C, HTTP/3, static files, and WebSocket echo.
Achievements
🥇 3 Gold · 🥈 1 Silver. 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 | Clojure · HTTP/1.1 | 1 of 9 |
| 🥇 Gold | Within its language | Clojure · HTTP/2 | 1 of 6 |
| 🥇 Gold | Within its language | Clojure · WebSocket | 1 of 8 |
| 🥈 Silver | Test profile | Efficiency · Latency-10K | 2 of 44 |
Composite rank
Each profile of a family is worth 1,000 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.
Every result
Alpha Round, 31 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 | 1,811,630 | 2.11ms | 2.95ms | 6278.0% | 13.2GiB |
| Connection | Pipelined | 4,096 | 17,599,830 | 3.24ms | 4.68ms | 6541.4% | 4.8GiB |
| Connection | Short-lived | 4,096 | 821,635 | 1.59ms | 13.20ms | 5101.7% | 4.6GiB |
| Concurrency | Async Delay | 32,000 | 1,201,071 | 23.34ms | 85.60ms | 5313.8% | 2.2GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 81.7us | 114.0us | 52.4% | 317MiB |
| Efficiency | Latency-1M | 1,024 | 998,010 | 229.8us | 1780.0us | 4707.2% | 408MiB |
| Efficiency | Latency-500K/8 | 1,024 | 375,341 | 2486201.4us | 4909056.0us | 784.0% | 275MiB |
| Workload | JSON Comp | 4,096 | 331,759 | 10.42ms | 286.70ms | 6230.3% | 4.9GiB |
| Workload | JSON Comp | 16,384 | 334,977 | 27.58ms | 843.20ms | 6397.8% | 5.1GiB |
| Workload | JSON TLS | 4,096 | 796,760 | 4.98ms | 42.27ms | 6432.7% | 14.3GiB |
| Workload | 8Gbit | 512 | 49,345 | 121.2us | 202.0us | 552.8% | 891MiB |
| Workload | Static TLS | 1,024 | 368,952 | 23.80ms | 258.19ms | 6189.5% | 1.9GiB |
| HTTP/2 | Baseline | 256 | 5,982,680 | 5.68ms | 252.93ms | 6128.3% | 4.8GiB |
| HTTP/2 | Baseline | 1,024 | 5,973,958 | 15.84ms | 140.30ms | 6314.4% | 14.2GiB |
| HTTP/2 | Static | 256 | 290,838 | 25.36ms | 749.55ms | 5494.2% | 4.8GiB |
| HTTP/2 | Static | 1,024 | 264,013 | 80.36ms | 2.66s | 5120.2% | 5.2GiB |
| HTTP/2 | Baseline (h2c) | 256 | 6,618,054 | 3.86ms | 31.16ms | 6351.5% | 4.7GiB |
| HTTP/2 | Baseline (h2c) | 1,024 | 6,975,594 | 13.85ms | 107.10ms | 6357.2% | 14.1GiB |
| HTTP/2 | Baseline (h2c) | 4,096 | 5,885,112 | 60.69ms | 486.99ms | 6192.9% | 14.6GiB |
| HTTP/2 | JSON (h2c) | 1,024 | 1,388,850 | 22.93ms | 231.27ms | 6454.8% | 14.0GiB |
| HTTP/2 | JSON (h2c) | 4,096 | 1,339,776 | 86.88ms | 669.78ms | 6260.5% | 14.2GiB |
| HTTP/3 | Baseline | 64 | 1,576,657 | 2.36ms | 6.22ms | 6317.0% | 1.9GiB |
| HTTP/3 | Static | 64 | 283,688 | 14.23ms | 248.05ms | 5208.3% | 5.3GiB |
| WebSocket | Echo | 512 | 2,486,075 | 205us | 331us | 6529.5% | 375MiB |
| WebSocket | Echo | 4,096 | 2,099,352 | 1.69ms | 2.41ms | 6678.6% | 801MiB |
| WebSocket | Echo | 16,384 | 2,190,354 | 2.69ms | 3.98ms | 6306.5% | 2.0GiB |
| WebSocket | Echo Pipelined | 512 | 35,450,956 | 230us | 364us | 6534.9% | 960MiB |
| WebSocket | Echo Pipelined | 4,096 | 32,304,640 | 1.71ms | 2.45ms | 6437.7% | 1.9GiB |
| WebSocket | Echo Pipelined | 16,384 | 31,279,840 | 2.79ms | 4.49ms | 6257.0% | 1.7GiB |
| WebSocket | Echo Short-lived | 512 | 829,522 | 127us | 366us | 4885.6% | 687MiB |
| WebSocket | Echo Short-lived | 4,096 | 821,790 | 133us | 414us | 4802.1% | 714MiB |
Compared with
The Clojure HTTP engines around Enso on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs Enso | |
|---|---|---|---|
| ring-jetty9-adapter | 1638 | -51% | head to head |
| ring-jetty-adapter | 1585 | -53% | head to head |
Compare Enso with any Clojure entry · Compare Enso with any entry, in any language · Every Clojure entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry