HTTP server & framework benchmarks

lihil benchmark results

lihil 0.2 is a python web framework. At concurrency 64 it serves 40 796 requests per second with a P50 latency of 1.55 ms, ranking 258 of 383 overall and 11 of 46 among python frameworks.

Throughput, latency & reliability

All measured metrics for lihil 0.2, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second40 79639 84439 491
P50 latency1.55 ms6.50 ms13.20 ms
P75 latency1.71 ms6.59 ms13.30 ms
P90 latency1.76 ms6.67 ms13.38 ms
P99 latency2.19 ms6.83 ms13.81 ms
P99.999 latency3.98 ms34.41 ms338.73 ms
Average latency1.60 ms6.52 ms13.21 ms
Minimum latency0.53 ms0.38 ms0.32 ms
Standard deviation0.19 ms0.57 ms5.43 ms
Total requests611 961597 718592 476
Bytes received77.78 MB75.97 MB75.30 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of lihil on requests per second.
ConcurrencyOverallAmong python frameworks
64258 of 38311 of 46
256256 of 38311 of 46
512255 of 38311 of 46

Badge for your README

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

web frameworks benchmark: #258 of 383

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

web frameworks benchmark: #11 of 46 in python

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

Explore python frameworks

Fastest python frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
1 peregrine-wsgi 1.1 191 025 0.30 ms 0.85 ms 0
2 weft-wsgi 0.1 153 346 0.41 ms 0.52 ms 0
3 fastpysgi-wsgi 0.6 147 137 0.46 ms 0.58 ms 0
4 peregrine-asgi 1.1 118 540 0.55 ms 0.68 ms 0
5 weft-asgi 0.1 118 218 0.53 ms 0.79 ms 0
6 oxapy 0.11 85 921 0.73 ms 1.34 ms 0
7 peregrine-blacksheep 2.6 74 401 0.95 ms 1.14 ms 0
8 emmett 2.7 47 667 1.27 ms 2.98 ms 0
9 asgineer 0.9 43 752 1.46 ms 2.09 ms 0
10 mq-bridge-py 0.2 41 435 1.63 ms 1.86 ms 0

All 46 python frameworks