HTTP server & framework benchmarks

peregrine-flask benchmark results

peregrine-flask 3.1 is a python web framework. At concurrency 64 it serves 21 498 requests per second with a P50 latency of 3.13 ms, ranking 326 of 403 overall and 28 of 49 among python frameworks.

Throughput, latency & reliability

All measured metrics for peregrine-flask 3.1, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second21 49821 30121 023
P50 latency3.13 ms12.09 ms24.57 ms
P75 latency3.61 ms13.70 ms25.97 ms
P90 latency3.87 ms14.17 ms26.50 ms
P99 latency6.52 ms16.89 ms27.19 ms
P99.999 latency9.42 ms26.89 ms50.16 ms
Average latency2.99 ms12.05 ms24.43 ms
Minimum latency0.57 ms0.46 ms1.36 ms
Standard deviation0.98 ms1.88 ms2.11 ms
Total requests322 487319 574315 391
Bytes received49.93 MB49.48 MB48.82 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of peregrine-flask on requests per second.
ConcurrencyOverallAmong python frameworks
64326 of 40328 of 49
256327 of 40328 of 49
512326 of 40328 of 49

Badge for your README

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

web frameworks benchmark: #326 of 403

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

web frameworks benchmark: #28 of 49 in python

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

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
8 peregrine-blacksheep 2.6 64 213 1.01 ms 1.41 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

All 49 python frameworks