Kotlin web framework benchmarks: performance comparison
The fastest Kotlin web framework in HttpArena is ktor-tuned, with a composite of 4053 on HTTP/1.1 — 37 of 109 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry. The leading Kotlin HTTP engine is edixoi-kt, 1 of 46 in its own league. The leading experimental Kotlin framework is ktron, 2 of 30 in its own league.
Compare any two Kotlin entries profile by profile →
Every Kotlin entry in the benchmark, compared on the composite score of each family, one table per league. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 1,000, and scales the sum by the entry's completeness factor. Frameworks, engines, experimental entries and infrastructure are separate leagues: each is normalized against its own leader, and they do not all count the same profiles, so a composite compares with the others in its table and with nothing outside it. Rank in its league is the entry's place across all languages; rank among Kotlin narrows the same field to this language. Both link through to the board view they were taken in. How the score works.
To set two entries from different leagues against each other, compare them head to head: that table lines up every test both of them ran.
Composite scores compare directly across every row of a table. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.
HTTP/1.1
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| ktor-tuned | Flagship tuned | 4053 | 37 of 109 | 1 of 5 |
| ktor | Flagship | 3265 | 29 of 85 | 1 of 4 |
| neton | Emerging | 2274 | 46 of 85 | 2 of 4 |
| http4k | Flagship | 1778 | 58 of 85 | 3 of 4 |
| klite | Emerging | 256 | 83 of 85 | 4 of 4 |
Engines
| Engine | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| edixoi-kt | Engine | 6729 | 1 of 46 | 1 of 3 |
| kron | Engine | 6589 | 4 of 46 | 2 of 3 |
| kron-native | Engine | 6390 | 6 of 46 | 3 of 3 |
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| ktron | Experimental | 7524 | 2 of 30 | 1 of 5 |
| ktor-kronos | Experimental | 5561 | 12 of 30 | 2 of 5 |
| genhttp-kt-netty | Experimental | 5509 | 13 of 30 | 3 of 5 |
| genhttp-kt | Experimental | 3765 | 22 of 30 | 4 of 5 |
| ktor-kronos-native | Experimental | 2741 | 25 of 30 | 5 of 5 |
HTTP/2
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| ktor-tuned | Flagship tuned | 739 | 24 of 41 | 1 of 3 |
| neton | Emerging | 567 | 20 of 31 | 1 of 2 |
| ktor | Flagship | 549 | 23 of 31 | 2 of 2 |
HTTP/3
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| ktor | Flagship | 405 | 10 of 16 | 1 of 2 |
| ktor-tuned | Flagship tuned | 357 | 13 of 20 | 2 of 2 |
WebSocket
Frameworks
| Framework | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| ktor-tuned | Flagship tuned | 485 | 31 of 39 | 1 of 2 |
| ktor | Flagship | 420 | 25 of 30 | 2 of 2 |
Experimental frameworks
| Framework | Type | Composite | Rank in its league | Rank among Kotlin |
|---|---|---|---|---|
| genhttp-kt-netty | Experimental | 2152 | 14 of 23 | 1 of 4 |
| genhttp-kt | Experimental | 1339 | 18 of 23 | 2 of 4 |
| ktor-kronos | Experimental | 1028 | 20 of 23 | 3 of 4 |
| ktor-kronos-native | Experimental | 210 | 22 of 23 | 4 of 4 |
Questions
What is the fastest Kotlin web framework?
ktor-tuned leads the Kotlin web frameworks in HttpArena with a composite score of 4053 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 1,000. Against every language, ktor-tuned ranks 37 of 109 in its league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.
What is the fastest Kotlin HTTP engine?
edixoi-kt leads the Kotlin HTTP engines in HttpArena with a composite score of 6729 on HTTP/1.1, measured over Alpha Round. Against every language, edixoi-kt ranks 1 of 46 in its league.
What is the fastest experimental Kotlin framework?
ktron leads the experimental Kotlin frameworks in HttpArena with a composite score of 7524 on HTTP/1.1, measured over Alpha Round. Against every language, ktron ranks 2 of 30 in its league.
Why are Kotlin entries ranked in separate leagues?
HttpArena ranks web frameworks, HTTP engines, and experimental frameworks apart. Each league is normalized against its own leader, and the leagues do not all count the same profiles - engines are not scored on JSON Compressed, for one. A composite from one league is therefore not on the same scale as a composite from another, and the higher number across two leagues is not the faster server. To set two entries from different leagues against each other, use the Kotlin head-to-head comparison, which lines up every test both of them ran.
What is the fastest Kotlin HTTP/2 server?
ktor-tuned, with a composite of 739 on HTTP/2 and 24 of 41 against all languages in its league.
What is the fastest Kotlin HTTP/3 server?
ktor, with a composite of 405 on HTTP/3 and 10 of 16 against all languages in its league.
What is the fastest Kotlin WebSocket server?
Among web frameworks, ktor-tuned (composite 485, 31 of 39 in that league); among experimental frameworks, genhttp-kt-netty (composite 2152, 14 of 23 in that league). The leagues are scored separately, so those composites are not on one scale.
How many Kotlin web frameworks are benchmarked?
13 Kotlin entries are measured, covering HTTP/1.1, HTTP/2, HTTP/3, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.
Is Kotlin fast for web servers?
The leading Kotlin web framework, ktor-tuned, places 37 of 109 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Kotlin at its best rather than for Kotlin in general. The tables below show the spread across all 13 entries.
Every Kotlin entry
- edixoi-kt
- genhttp-kt
- genhttp-kt-netty
- http4k
- klite
- kron
- kron-native
- ktor
- ktor-kronos
- ktor-kronos-native
- ktor-tuned
- ktron
- neton
Other languages
C · C# · C++ · Clojure · D · Dart · Elixir · Erlang · F# · Go · Goose · Haskell · Java · JS · Julia · Koru · Lua · Luau · Mojo · OCaml · Perl · PHP · Python · Ruby · Rust · Scala · Sober · Swift · TS · V · Valk · Zig
Results updated · Alpha Round · Compare two Kotlin entries · All languages · Open the leaderboard