HttpArena
Comparisons

Kotlin web framework comparison: any two, head to head

ktor-tuned is quicker than ktor on 27 of the 31 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 4003 and 3258.

Pick any two of the 4 Kotlin 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.

ProfileConnsktor-tuned req/secktor req/secDeltaktor-tuned p99ktor p99
Baseline4,0961,414,0201,028,097+38%10.90ms8.69ms
Pipelined4,0962,491,5391,651,691+51%85.20ms51.20ms
Short-lived4,096601,087801,686-25%68.60ms51.60ms
Async Delay32,000310,599217,637+43%283.90ms168.60ms
Latency-10K1,0249,9839,980+0%135.0us166.0us
Latency-1M1,024997,705997,698+0%2373.0us3313.0us
Latency-500K/81,024283,892230,777+23%8990720.0us10612736.0us
JSON Comp4,096249,350213,497+17%45.00ms66.40ms
JSON Comp16,384236,648207,586+14%163.70ms232.50ms
JSON TLS4,096896,371515,694+74%75.18ms76.51ms
8Gbit51249,39949,311+0%170.0us235.0us
Static TLS1,024267,451253,342+6%92.98ms109.24ms
Async DB1,02445,62448,250-5%25.80ms24.90ms
Fortunes1,02449,99161,977-19%43.10ms28.00ms
Baseline2561,135,198793,994+43%111.62ms153.52ms
Baseline1,0241,047,470790,078+33%327.37ms338.54ms
Static256235,897218,306+8%175.67ms185.59ms
Static1,024231,399197,962+17%373.52ms659.25ms
Baseline (h2c)2561,170,892815,580+44%119.04ms124.13ms
Baseline (h2c)1,0241,102,189737,088+50%346.75ms636.47ms
Baseline (h2c)4,096521,941487,096+7%2.17s2.22s
JSON (h2c)1,024744,649407,610+83%193.46ms438.85ms
JSON (h2c)4,096676,200414,514+63%638.40ms805.69ms
Baseline64377,525340,632+11%32.07ms53.45ms
Static6476,777105,632-27%208.94ms122.12ms
Echo5121,092,2751,063,564+3%1.13ms1.03ms
Echo4,0961,207,338999,265+21%9.46ms9.32ms
Echo16,3841,053,889680,770+55%48.20ms46.50ms
Echo Pipelined51212,092,85711,784,745+3%1.79ms1.82ms
Echo Pipelined4,09612,853,10011,399,152+13%16.10ms13.70ms
Echo Pipelined16,38412,636,6039,035,670+40%73.10ms97.20ms

Common comparisons

ktor-tuned vs ktor · ktor-tuned vs http4k · ktor-tuned vs neton · ktor vs http4k · ktor vs neton · http4k vs neton

Questions

Is ktor-tuned faster than ktor?

ktor-tuned is quicker than ktor on 27 of the 31 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 4003 and 3258. Both run on the same machine, in the same round, against the same profiles.

Is ktor-tuned faster than http4k?

ktor-tuned is quicker than http4k on 11 of the 11 profiles they both run. On the HTTP/1.1 composite they score 4003 and 1855. Both run on the same machine, in the same round, against the same profiles.

Is ktor-tuned faster than neton?

ktor-tuned is quicker than neton on 19 of the 23 profiles they both run, and behind on 4. On the HTTP/1.1 composite they score 4003 and 2408. Both run on the same machine, in the same round, against the same profiles.

Is ktor faster than http4k?

ktor is quicker than http4k on 9 of the 11 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 3258 and 1855. Both run on the same machine, in the same round, against the same profiles.

Which Kotlin framework is fastest overall?

ktor-tuned holds the highest HTTP/1.1 composite of the Kotlin entries, at 4003. 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 Kotlin entry

Results updated · Kotlin composite ranking · Compare across languages · Other languages · Open the leaderboard