Explore by language

nim web framework benchmarks

Benchmark results for 13 nim web frameworks, measured with zrk at concurrency 64, 256, 512. Fastest at concurrency 64: caprese with 274 055 requests per second.

Compare throughput and latency together. These measurements describe a specific workload and test environment; performance in your application may differ.

Concurrency 64

nim frameworks at concurrency 64, ranked on requests per second.
# 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
4 cps-http 2 174 482 0.36 ms 1.83 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
12 rosencrantz 0.4 47 970 1.33 ms 1.45 ms 0
13 basolato 0.16 38 768 1.63 ms 1.79 ms 0

Concurrency 256

nim frameworks at concurrency 256, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 caprese 0.1 256 004 0.79 ms 9.41 ms 0
2 powpow 0.2 248 309 0.25 ms 15.88 ms 0
3 httpbeast 0.4 204 345 0.32 ms 17.50 ms 0
4 whip 0.2 182 475 0.36 ms 16.45 ms 0
5 mike 1.3 177 846 0.36 ms 15.55 ms 0
6 hashi 0.1 163 552 0.24 ms 36.62 ms 0
7 cps-http 2 163 005 0.40 ms 20.24 ms 0
8 supranim 0.1 161 485 1.39 ms 12.16 ms 3 157
9 jester 0.6 141 969 0.53 ms 15.45 ms 0
10 guildenstern 9 106 368 2.13 ms 2.77 ms 0
11 prologue 0.6 90 567 0.73 ms 15.78 ms 0
12 rosencrantz 0.4 41 078 6.21 ms 6.56 ms 0
13 basolato 0.16 33 728 7.55 ms 8.00 ms 0

Concurrency 512

nim frameworks at concurrency 512, ranked on requests per second.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 caprese 0.1 243 544 1.91 ms 9.36 ms 0
2 powpow 0.2 238 538 0.56 ms 21.35 ms 0
3 httpbeast 0.4 200 554 0.63 ms 18.59 ms 0
4 whip 0.2 180 617 0.71 ms 18.13 ms 0
5 mike 1.3 177 452 0.76 ms 18.05 ms 0
6 supranim 0.1 156 899 2.81 ms 14.97 ms 3 070
7 cps-http 2 146 560 0.89 ms 43.05 ms 0
8 jester 0.6 141 373 1.12 ms 16.32 ms 0
9 guildenstern 9 103 974 4.80 ms 5.33 ms 0
10 hashi 0.1 100 760 0.33 ms 83.15 ms 0
11 prologue 0.6 91 606 1.63 ms 16.64 ms 0
12 rosencrantz 0.4 34 408 15.01 ms 15.57 ms 0
13 basolato 0.16 31 275 16.30 ms 16.81 ms 0