HttpArena
Frameworks

Python web framework benchmarks

The fastest Python web framework in HttpArena is pyronova, with a composite of 898 on HTTP/1.1 — 1 of 2 against every language in its league. Measured over Alpha Round, every entry on the same machine. This is a tuned entry.

Every Python entry in the benchmark, compared on the composite score of each family. The composite sums a normalized score over the profiles of that family, where the leader of each profile scores 100. Rank overall is the entry's place in its own league across all languages; rank among Python narrows the same field to this language. Both link through to the board view they were taken in. How the score works.

Composite scores compare directly across every row. Ranks do not always share a field: a tuned entry has no place in the standard-only ranking, so its rank is taken from the field that includes tuned entries and counts more of them.

HTTP/1.1

FrameworkTypeCompositeRank overallRank among Python
pyronovaExperimental tuned8981 of 2
mq-bridge-pyEmerging31923 of 711 of 9
fastapiFlagship19041 of 712 of 9
sanicFlagship tuned16169 of 973 of 12
blackbullEmerging14752 of 713 of 9
litestarFlagship13755 of 715 of 9
starletteFlagship13754 of 714 of 9
aiohttpFlagship13258 of 716 of 9
fastpysgi-wsgiEngine12420 of 341 of 4
fastpysgi-asgiEngine11721 of 342 of 4
flaskFlagship11063 of 717 of 9
bottleFlagship tuned10587 of 979 of 12
slimewebEmerging tuned10188 of 9710 of 12
robynEmerging7567 of 718 of 9
uvicornEngine7326 of 343 of 4
djangoFlagship3171 of 719 of 9
bjoernEngine2030 of 344 of 4

HTTP/2

FrameworkTypeCompositeRank overallRank among Python
pyronovaExperimental tuned1661 of 2
mq-bridge-pyEmerging806 of 161 of 2
blackbullEmerging1514 of 162 of 2

WebSocket

FrameworkTypeCompositeRank overallRank among Python
blackbullEmerging1519 of 20

Questions

What is the fastest Python web framework?

pyronova leads the Python entries in HttpArena with a composite score of 898 on HTTP/1.1, measured over Alpha Round. The composite sums a normalized score across the profiles of a family, where the leader of each profile scores 100. Against every language, pyronova ranks 1 of 2 in its own league. It is a tuned entry, so it is ranked in the field that includes tuned configurations.

What is the fastest Python HTTP/2 server?

pyronova, with a composite of 166 on HTTP/2 and 1 of 2 against all languages in its league.

What is the fastest Python WebSocket server?

blackbull, with a composite of 15 on WebSocket and 19 of 20 against all languages in its league.

How many Python web frameworks are benchmarked?

17 Python entries are measured, covering HTTP/1.1, HTTP/2, WebSocket. Every one runs on the same machine, in the same round (Alpha Round), against the same profiles.

Is Python fast for web servers?

The quickest Python entry, pyronova, places 1 of 2 on HTTP/1.1 across every language in its league, so that placing is the honest answer for Python at its best rather than for Python in general. The tables below show the spread across all 17 entries.

Every Python entry

Alpha Round · All languages · Open the leaderboard