HTTP server & framework benchmarks

router benchmark results

router 1.5 is a go web framework. At concurrency 64 it serves 172 563 requests per second with a P50 latency of 0.31 ms, ranking 54 of 383 overall and 8 of 42 among go frameworks.

Throughput, latency & reliability

All measured metrics for router 1.5, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second172 563157 387148 954
P50 latency0.31 ms1.48 ms3.46 ms
P75 latency0.53 ms2.37 ms4.23 ms
P90 latency0.76 ms3.15 ms4.89 ms
P99 latency1.17 ms4.19 ms5.85 ms
P99.999 latency2.89 ms8.55 ms11.04 ms
Average latency0.37 ms1.63 ms3.43 ms
Minimum latency0.02 ms0.03 ms0.02 ms
Standard deviation0.28 ms1.07 ms1.14 ms
Total requests2 588 5272 361 0362 234 748
Bytes received262.48 MB239.61 MB226.81 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of router on requests per second.
ConcurrencyOverallAmong go frameworks
6454 of 3838 of 42
25667 of 3837 of 42
51269 of 3837 of 42

Badge for your README

Show the rank of router in your README. The image is updated together with the results.

web frameworks benchmark: #54 of 383

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/go/router/badge.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/go/router/)

web frameworks benchmark: #8 of 42 in go

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/go/router/badge-language.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/go/router/)

Explore go frameworks

Fastest go frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 breeze 2 216 272 0.26 ms 0.66 ms 0
2 web 0 205 272 0.26 ms 0.98 ms 0
3 fasthttp 1.74 182 167 0.29 ms 1.10 ms 0
4 gorouter-fasthttp 4.4 180 176 0.29 ms 1.12 ms 0
5 gearbox 1.2 180 070 0.29 ms 1.12 ms 0
6 fiber 3.5 178 319 0.30 ms 1.12 ms 0
7 hertz 0.9 173 885 0.36 ms 0.76 ms 0
9 atreugo 11.13 169 652 0.31 ms 1.20 ms 0
10 apirouter 1 108 569 0.47 ms 2.05 ms 0
11 rte 0 107 289 0.48 ms 2.06 ms 0

All 42 go frameworks