Web Frameworks Benchmark


khttp 0.2 benchmark results

khttp 0.2 is a rust web framework. At concurrency 64 it serves 213 408 requests per second with a P50 latency of 0.19 ms, ranking 2 of 358 overall and 2 of 30 among rust frameworks.

All measured metrics for khttp 0.2, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second213 408206 483210 359
P50 latency0.19 ms0.16 ms0.14 ms
P75 latency0.22 ms0.20 ms0.19 ms
P90 latency0.24 ms0.22 ms0.20 ms
P99 latency0.27 ms0.26 ms0.23 ms
P99.999 latency0.70 ms668.36 ms667.49 ms
Average latency0.25 ms0.62 ms0.34 ms
Minimum latency0.04 ms0.05 ms0.06 ms
Standard deviation18.52 ms49.93 ms32.07 ms
Total requests3 201 3153 097 6713 156 027
Bytes received309.36 MB299.32 MB304.99 MB
HTTP errors000
Request timeouts147482237
Socket connection errors0700
Socket read errors000
Socket write errors000

Rank

Position of khttp on requests per second.
ConcurrencyOverallAmong rust frameworks
642 of 3582 of 30
2561 of 3581 of 30
5121 of 3581 of 30

Other rust frameworks

Fastest rust frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 ohkami-nio 0.24 215 163 0.32 ms 0.62 ms 0
3 ohkami-tokio 0.24 202 631 0.30 ms 0.62 ms 0
4 hyper 1.5 196 162 0.31 ms 0.66 ms 0
5 micro-web 0.3 188 190 0.32 ms 0.78 ms 0
6 warp 0.4 186 137 0.32 ms 0.77 ms 0
7 axum 0.8 181 321 0.33 ms 0.82 ms 0
8 viz 0.11 180 706 0.33 ms 0.81 ms 0
9 reinhardt-web 0.3 178 215 0.33 ms 0.84 ms 0
10 poem 3 177 360 0.34 ms 0.83 ms 0
11 graphul 1 177 334 0.33 ms 0.86 ms 0

All 30 rust frameworks