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: Linux/DockerCPU: Ryzen 7 7800X3DLast Updated: 2025-05-04
MedianP99
Framework
Requests per second
Latency
Stability
Memory
2613
1.3 ms
1.37 %
557.3 MB
2614
1.3 ms
1.37 %
421.2 MB

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 other Kotlin frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
2613
1.3 ms
1.37 %
557.3 MB

Popular web frameworks

How does Ktor compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
21030
1.6 ms
71.96 %
8.5 MB
14707
1.2 ms
2.64 %
136.5 MB
5766
5.5 ms
64.50 %
82.5 MB
3546
1.0 ms
1.14 %
16.7 MB
2613
1.3 ms
1.37 %
557.3 MB
1185
21.0 ms
21.21 %
41.2 MB
1105
1.7 ms
1.67 %
596.8 MB
1092
7.7 ms
9.22 %
90.3 MB
950
8.8 ms
10.33 %
130.1 MB
299
101.7 ms
56.47 %
84.2 MB

© 2025 Tien Do Nam