HTTP server & framework benchmarks

hertz benchmark results

hertz 0.9 is a go web framework. At concurrency 64 it serves 173 885 requests per second with a P50 latency of 0.36 ms, ranking 53 of 383 overall and 7 of 42 among go frameworks.

Throughput, latency & reliability

All measured metrics for hertz 0.9, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second173 885154 279143 920
P50 latency0.36 ms1.60 ms3.58 ms
P75 latency0.46 ms2.17 ms3.94 ms
P90 latency0.56 ms2.73 ms4.31 ms
P99 latency0.76 ms3.76 ms5.44 ms
P99.999 latency1.21 ms7.43 ms11.68 ms
Average latency0.37 ms1.66 ms3.55 ms
Minimum latency0.03 ms0.03 ms0.04 ms
Standard deviation0.16 ms0.81 ms0.72 ms
Total requests2 608 3452 314 4272 159 240
Bytes received257.91 MB228.91 MB213.51 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of hertz on requests per second.
ConcurrencyOverallAmong go frameworks
6453 of 3837 of 42
25673 of 3839 of 42
51279 of 3839 of 42

Badge for your README

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

web frameworks benchmark: #53 of 383

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

web frameworks benchmark: #7 of 42 in go

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

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
8 router 1.5 172 563 0.31 ms 1.17 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