HttpArena
Frameworks

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

FrameworkTypeCompositeRank in its leagueRank among Kotlin
ktor-tunedFlagship tuned405337 of 1091 of 5
ktorFlagship326529 of 851 of 4
netonEmerging227446 of 852 of 4
http4kFlagship177858 of 853 of 4
kliteEmerging25683 of 854 of 4

Engines

EngineTypeCompositeRank in its leagueRank among Kotlin
edixoi-ktEngine67291 of 461 of 3
kronEngine65894 of 462 of 3
kron-nativeEngine63906 of 463 of 3

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Kotlin
ktronExperimental75242 of 301 of 5
ktor-kronosExperimental556112 of 302 of 5
genhttp-kt-nettyExperimental550913 of 303 of 5
genhttp-ktExperimental376522 of 304 of 5
ktor-kronos-nativeExperimental274125 of 305 of 5

HTTP/2

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Kotlin
ktor-tunedFlagship tuned73924 of 411 of 3
netonEmerging56720 of 311 of 2
ktorFlagship54923 of 312 of 2

HTTP/3

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Kotlin
ktorFlagship40510 of 161 of 2
ktor-tunedFlagship tuned35713 of 202 of 2

WebSocket

Frameworks

FrameworkTypeCompositeRank in its leagueRank among Kotlin
ktor-tunedFlagship tuned48531 of 391 of 2
ktorFlagship42025 of 302 of 2

Experimental frameworks

FrameworkTypeCompositeRank in its leagueRank among Kotlin
genhttp-kt-nettyExperimental215214 of 231 of 4
genhttp-ktExperimental133918 of 232 of 4
ktor-kronosExperimental102820 of 233 of 4
ktor-kronos-nativeExperimental21022 of 234 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

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