HTTP server & framework benchmarks

peregrine-fastapi benchmark results

peregrine-fastapi 0.162 is a python web framework. At concurrency 64 it serves 24 629 requests per second with a P50 latency of 2.77 ms, ranking 321 of 403 overall and 25 of 49 among python frameworks.

Throughput, latency & reliability

All measured metrics for peregrine-fastapi 0.162, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second24 62925 74226 057
P50 latency2.77 ms10.66 ms19.31 ms
P75 latency3.04 ms11.39 ms21.47 ms
P90 latency3.15 ms11.65 ms22.08 ms
P99 latency3.23 ms11.82 ms22.28 ms
P99.999 latency5.41 ms20.64 ms32.72 ms
Average latency2.62 ms10.02 ms19.78 ms
Minimum latency0.65 ms1.06 ms1.42 ms
Standard deviation0.50 ms1.41 ms1.55 ms
Total requests369 446386 175390 913
Bytes received57.50 MB60.12 MB60.86 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of peregrine-fastapi on requests per second.
ConcurrencyOverallAmong python frameworks
64321 of 40325 of 49
256320 of 40325 of 49
512317 of 40324 of 49

Badge for your README

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

web frameworks benchmark: #321 of 403

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

web frameworks benchmark: #25 of 49 in python

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

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