Sharkbench

Benchmarking programming languages and web frameworks

Ktor (Kotlin)
Ktor is a framework for building asynchronous servers and clients in connected systems using the powerful Kotlin programming language. It is designed to be flexible and easy to use, allowing developers to create highly scalable and robust applications.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Kotlin (Temurin v21) / Ktor v2 (Netty)
5238
2.6 ms
4.20 %
164.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 designed to be fully interoperable with Java and addresses many of the pitfalls of Java, such as verbosity and null pointer exceptions. Kotlin introduces features such as null safety, extension functions, and infix notation that enable concise and expressive code designs. With its adoption on the Android platform, Kotlin has rapidly become a favorite for mobile developers. Additionally, Kotlin is highly effective for server-side development, particularly when used with the Spring Framework.

Kotlin web frameworks

MedianP99
Framework
Requests per second
Latency
Stability
Memory
Kotlin (Temurin) / Ktor (Netty)
5238
2.6 ms
4.20 %
164.2 MB

© 2024 Tien Do Nam