HttpArena
Frameworks

flask

Flagship · Python · engine: gunicorn · standard configuration · completeness 4/4

Flask web framework on Gunicorn with sync workers

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.169 of 71343

Every result

Alpha Round, 12 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,09677,31928.75ms257.70ms3355.5%3.2GiB
ConnectionPipelined4,09677,69728.52ms161.70ms3325.3%3.2GiB
ConnectionShort-lived4,096107,40420.50ms28.30ms5688.8%3.2GiB
ConcurrencyAsync Delay32,0005,252415.62ms1.18s384.2%3.3GiB
EfficiencyLatency-10K1,0249,980585.7us6790.0us403.7%3.3GiB
EfficiencyLatency-1M1,024109,7549103406.4us17588224.0us5110.6%3.3GiB
EfficiencyLatency-500K/81,02420,4389569078.6us18964480.0us756.0%516MiB
WorkloadJSON Comp4,09666,22533.05ms37.30ms5437.4%3.2GiB
WorkloadJSON Comp16,38455,12643.70ms642.60ms4112.9%3.2GiB
WorkloadJSON TLS4,0966,8346.57ms6.57ms2183.7%3.3GiB
Workload8Gbit51216,6881626766.5us3220480.0us4977.3%3.3GiB
DatabaseAsync DB1,02442,38423.88ms25.70ms5346.6%3.3GiB

Compared with

The Python entries around flask on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs flask
fastpysgi-wsgi3148+819%head to head
robyn892+160%head to head
slimeweb865+153%head to head
bottle289-16%head to head
django227-34%head to head

Compare flask with any Python entry · Compare flask with any entry, in any language · Every Python entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry