HTTP server & framework benchmarks

cgi_threads benchmark results

cgi_threads 12 is a d web framework. At concurrency 64 it serves 109 027 requests per second with a P50 latency of 0.07 ms, ranking 133 of 383 overall and 5 of 7 among d frameworks.

Throughput, latency & reliability

All measured metrics for cgi_threads 12, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second109 027107 790107 837
P50 latency0.07 ms0.07 ms0.07 ms
P75 latency0.10 ms0.10 ms0.10 ms
P90 latency0.35 ms0.35 ms0.34 ms
P99 latency1.14 ms1.16 ms1.13 ms
P99.999 latency3.39 ms8001.54 ms8001.54 ms
Average latency0.38 ms1.34 ms2.06 ms
Minimum latency0.03 ms0.03 ms0.03 ms
Standard deviation43.36 ms97.48 ms123.79 ms
Total requests1 635 4581 616 9411 617 647
Bytes received315.58 MB312.01 MB312.15 MB
HTTP errors000
Request timeouts48240387
Socket connection errors00106
Socket read errors000
Socket write errors000

Position in this benchmark

Position of cgi_threads on requests per second.
ConcurrencyOverallAmong d frameworks
64133 of 3835 of 7
256132 of 3835 of 7
512131 of 3835 of 7

Badge for your README

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

web frameworks benchmark: #133 of 383

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

web frameworks benchmark: #5 of 7 in d

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

Explore d frameworks

Fastest d frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 serverino 0.8 142 132 0.41 ms 1.34 ms 0
2 vibed_light 0.1 138 200 0.46 ms 0.54 ms 0
3 cgi_hybrid 12 130 652 0.11 ms 6.64 ms 0
4 cgi_processes 12 124 526 0.06 ms 0.13 ms 0
6 vibed 1.3 100 830 0.62 ms 0.89 ms 0
7 lighttp 0.5 44 485 1.16 ms 2.36 ms 0

All 7 d frameworks