Sharkbench

Benchmarking programming languages and web frameworks

Ktor (Kotlin)

Ktor is a framework for building asynchronous servers and clients in connected systems using the Kotlin programming language. It is designed to be flexible and easy to use, allowing developers to create highly scalable and robust applications. Ktor leverages Kotlin's coroutines for handling asynchronous operations elegantly.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.

OS: LinuxCPU: Intel Core Ultra 5 325Last Updated: 2026-10-14
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
1743
5.3 ms
6.35 %
242.4 MB
36.00 s
1742
5.3 ms
6.28 %
237.2 MB
35.92 s
107
114.0 ms
10.42 %
435.3 MB
113.15 s

About Kotlin

Paradigm

Object-Oriented, Functional, Imperative

Execution

JIT, AOT

Typing

Static

Null Safety

YES

Memory Management

Garbage Collection

Kotlin is a modern programming language developed by JetBrains and officially supported by Google for Android development. It is fully interoperable with Java while addressing many of its limitations through features like null safety and extension functions. Kotlin has rapidly gained popularity for mobile development and is growing in server-side applications.

Kotlin web frameworks

How does Ktor compare to other Kotlin frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
1743
5.3 ms
6.35 %
242.4 MB
36.00 s
107
114.0 ms
10.42 %
435.3 MB
113.15 s

Popular web frameworks

How does Ktor compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
26670
1.2 ms
74.13 %
16.5 MB
26.69 s
17041
1.5 ms
23.04 %
101.8 MB
6.09 s
15270
2.0 ms
29.45 %
228.4 MB
4.92 s
2962
1.6 ms
1.86 %
286.4 MB
37.73 s
1743
5.3 ms
6.35 %
242.4 MB
36.00 s
1640
3.4 ms
3.65 %
23.1 MB
32.20 s
792
32.9 ms
20.81 %
63.3 MB
8.55 s
320
99.9 ms
56.36 %
110.2 MB
8.94 s
279
103.8 ms
57.16 %
151.9 MB
10.29 s
107
114.0 ms
10.42 %
435.3 MB
113.15 s
92
319.0 ms
80.90 %
80.4 MB
95.22 s

© 2026 Tien Nam Do