HTTP server & framework benchmarks

cps-http benchmark results

cps-http 2 is a nim web framework. At concurrency 64 it serves 174 482 requests per second with a P50 latency of 0.36 ms, ranking 50 of 383 overall and 4 of 13 among nim frameworks.

Throughput, latency & reliability

All measured metrics for cps-http 2, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second174 482163 005146 560
P50 latency0.36 ms0.40 ms0.89 ms
P75 latency0.37 ms0.42 ms3.10 ms
P90 latency0.39 ms0.61 ms10.73 ms
P99 latency1.83 ms20.24 ms43.05 ms
P99.999 latency2.62 ms21.79 ms45.02 ms
Average latency0.37 ms1.57 ms3.49 ms
Minimum latency0.03 ms0.03 ms0.03 ms
Standard deviation0.25 ms4.33 ms6.40 ms
Total requests2 617 3052 445 3352 198 870
Bytes received95.66 MB89.37 MB80.36 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of cps-http on requests per second.
ConcurrencyOverallAmong nim frameworks
6450 of 3834 of 13
25657 of 3837 of 13
51275 of 3837 of 13

Badge for your README

Show the rank of cps-http in your README. The image is updated together with the results.

web frameworks benchmark: #50 of 383

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

web frameworks benchmark: #4 of 13 in nim

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

Explore nim frameworks

Fastest nim frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 caprese 0.1 274 055 0.12 ms 5.49 ms 0
2 powpow 0.2 237 033 0.07 ms 7.60 ms 0
3 httpbeast 0.4 196 846 0.08 ms 9.32 ms 0
5 whip 0.2 174 291 0.10 ms 9.91 ms 0
6 mike 1.3 168 817 0.10 ms 10.63 ms 0
7 supranim 0.1 158 781 0.31 ms 7.30 ms 4 012
8 jester 0.6 137 644 0.14 ms 11.87 ms 0
9 guildenstern 9 113 646 0.46 ms 0.90 ms 0
10 hashi 0.1 105 070 0.12 ms 30.72 ms 0
11 prologue 0.6 86 722 0.19 ms 12.08 ms 0

All 13 nim frameworks