HTTP server & framework benchmarks

peregrine-blacksheep benchmark results

peregrine-blacksheep 2.6 is a python web framework. At concurrency 64 it serves 64 213 requests per second with a P50 latency of 1.01 ms, ranking 224 of 403 overall and 8 of 49 among python frameworks.

Throughput, latency & reliability

All measured metrics for peregrine-blacksheep 2.6, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second64 21367 47168 616
P50 latency1.01 ms3.95 ms7.43 ms
P75 latency1.27 ms4.19 ms7.99 ms
P90 latency1.35 ms4.27 ms8.24 ms
P99 latency1.41 ms4.41 ms8.59 ms
P99.999 latency2.26 ms11.29 ms12.78 ms
Average latency1.02 ms3.86 ms7.59 ms
Minimum latency0.48 ms0.27 ms0.94 ms
Standard deviation0.24 ms0.44 ms0.50 ms
Total requests963 2361 012 1631 029 407
Bytes received149.74 MB157.45 MB160.12 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of peregrine-blacksheep on requests per second.
ConcurrencyOverallAmong python frameworks
64224 of 4038 of 49
256218 of 4038 of 49
512214 of 4039 of 49

Badge for your README

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

web frameworks benchmark: #224 of 403

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

web frameworks benchmark: #8 of 49 in python

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

Explore python frameworks

Fastest python frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 peregrine-wsgi 1.1 192 411 0.30 ms 0.71 ms 0
2 weft-wsgi 0.1 179 601 0.35 ms 0.44 ms 0
3 fastpysgi-wsgi 0.6 157 893 0.40 ms 0.68 ms 0
4 weft-asgi 0.1 120 026 0.52 ms 0.77 ms 0
5 peregrine-asgi 1.1 118 073 0.57 ms 0.72 ms 0
6 wred 0.15 99 600 0.63 ms 1.01 ms 0
7 oxapy 0.11 87 219 0.72 ms 1.31 ms 0
9 mq-bridge-py 1.3 46 815 1.45 ms 1.69 ms 0
10 emmett 2.7 43 793 1.36 ms 3.01 ms 0
11 asgineer 0.9 41 690 1.48 ms 2.66 ms 0

All 49 python frameworks