Home › Frameworks › python › fastapi
fastapi 0.141 benchmark results
fastapi 0.141 is a python web framework. At concurrency 64 it serves 42 276 requests per second with a P50 latency of 1.24 ms, ranking 273 of 358 overall and 17 of 37 among python frameworks.
All measured metrics for fastapi 0.141, by concurrency level.
Metric Concurrency 64 Concurrency 256 Concurrency 512
Requests / second 42 276 49 922 52 028
P50 latency 1.24 ms 4.54 ms 8.73 ms
P75 latency 2.01 ms 6.32 ms 11.46 ms
P90 latency 2.92 ms 8.37 ms 14.82 ms
P99 latency 4.87 ms 17.31 ms 38.25 ms
P99.999 latency 12.65 ms 56.83 ms 161.48 ms
Average latency 1.53 ms 5.17 ms 9.90 ms
Minimum latency 0.17 ms 0.34 ms 0.37 ms
Standard deviation 1.05 ms 3.31 ms 7.05 ms
Total requests 634 189 749 068 780 901
Bytes received 80.61 MB 95.22 MB 99.26 MB
HTTP errors 0 0 0
Request timeouts 0 0 0
Socket connection errors 0 0 0
Socket read errors 0 0 0
Socket write errors 0 0 0
Rank
Position of fastapi on requests per second.
Concurrency Overall Among python frameworks
64 273 of 358 17 of 37
256 266 of 358 17 of 37
512 263 of 358 17 of 37
Other python frameworks
Fastest python frameworks at concurrency 64.
#
Framework
Requests / second
P50 latency
P99 latency
HTTP errors
1
oxapy 0.11
158 749
0.38 ms
0.84 ms
0
2
fastpysgi-wsgi 0.6
153 823
0.36 ms
0.66 ms
0
3
asgineer 0.9
94 940
0.63 ms
1.77 ms
0
4
lihil 0.2
88 479
0.62 ms
1.57 ms
0
5
sanic 25.12
86 796
0.63 ms
2.05 ms
0
6
blacksheep 2.6
81 792
0.59 ms
2.59 ms
0
7
mq-bridge-py 0.2
80 833
0.79 ms
1.18 ms
0
8
baize-asgi 0.20
79 094
0.71 ms
2.20 ms
0
9
emmett 2.7
77 656
0.73 ms
2.39 ms
0
10
panther 5.5
76 924
0.69 ms
2.77 ms
0
All 37 python frameworks