Clojure web framework comparison: any two, head to head
Enso is quicker than reitit on 10 of the 10 profiles they both run. On the HTTP/1.1 composite they score 1732 and 3367.
Pick any two of the 11 Clojure 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. What each profile measures.
| Profile | Conns | reitit req/sec | Enso req/sec | Delta | reitit p99 | Enso p99 |
|---|---|---|---|---|---|---|
| Baseline | 4,096 | 606,264 | 1,811,630 | -67% | 8.46ms | 2.95ms |
| Short-lived | 4,096 | 400,618 | 821,635 | -51% | 15.50ms | 13.20ms |
| Async Delay | 32,000 | 4,079 | 1,201,071 | -100% | 5.00s | 85.60ms |
| Latency-10K | 1,024 | 9,831 | 9,983 | -2% | 147.0us | 114.0us |
| Latency-1M | 1,024 | 533,149 | 998,010 | -47% | 9170944.0us | 1780.0us |
| Latency-500K/8 | 1,024 | 133,176 | 375,341 | -65% | 14290944.0us | 4909056.0us |
| JSON Comp | 4,096 | 38,570 | 331,759 | -88% | 322.90ms | 286.70ms |
| JSON Comp | 16,384 | 38,224 | 334,977 | -89% | 1.10s | 843.20ms |
| JSON TLS | 4,096 | 70,300 | 796,760 | -91% | 174.09ms | 42.27ms |
| 8Gbit | 512 | 47,243 | 49,345 | -4% | 297.0us | 202.0us |
Common comparisons
reitit vs Enso · reitit vs ring-http-exchange · reitit vs ring-jetty9-adapter · Enso vs ring-http-exchange · Enso vs ring-jetty9-adapter · ring-http-exchange vs ring-jetty9-adapter
Questions
Is reitit faster than Enso?
Enso is quicker than reitit on 10 of the 10 profiles they both run. On the HTTP/1.1 composite they score 1732 and 3367. Both run on the same machine, in the same round, against the same profiles.
Is reitit faster than ring-http-exchange?
ring-http-exchange is quicker than reitit on 10 of the 10 profiles they both run. On the HTTP/1.1 composite they score 1732 and 3346. Both run on the same machine, in the same round, against the same profiles.
Is reitit faster than ring-jetty9-adapter?
ring-jetty9-adapter is quicker than reitit on 9 of the 10 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 1732 and 1644. Both run on the same machine, in the same round, against the same profiles.
Is Enso faster than ring-http-exchange?
Enso is quicker than ring-http-exchange on 8 of the 11 profiles they both run, and behind on 3. On the HTTP/1.1 composite they score 3367 and 3346. Both run on the same machine, in the same round, against the same profiles.
Which Clojure framework is fastest overall?
Enso holds the highest HTTP/1.1 composite of the Clojure entries, at 3367. 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 Clojure entry
- Enso
- ring-http-exchange
- reitit
- ring-jetty9-adapter
- ring-jetty-adapter
- aleph
- hirundo
- pedestal
- http-kit
- capra
- busker
Results updated · Clojure composite ranking · Compare across languages · Other languages · Open the leaderboard