Sharkbench

Benchmarking programming languages and web frameworks

Django: Development Server vs Gunicorn vs Uvicorn

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows a "batteries-included" philosophy with an extensive suite of built-in features from authentication to site maps. Django is widely used for developing complex, database-driven websites with an emphasis on reusability and security.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.

OS: Linux/DockerCPU: Ryzen 7 7800X3DLast Updated: 2025-05-04

Comparison

Gunicorn processes 2.44x requests per second compared to Uvicorn, a 143.59% improvement.
Mode
Requests per second
Latency
Stability
Memory
950 (+143.59 %)
8.8 ms (-89.06 %)
10.33 % (-57.93 %)
130.1 MB (+200.46 %)
759 (+94.62 %)
42.0 ms (-47.62 %)
93.46 % (+25.19 %)
77.7 MB (+79.52 %)
390
80.2 ms
68.26 %
43.3 MB

All results

MedianP99
Framework
Requests per second
Latency
Stability
Memory
759
42.0 ms
93.46 %
77.7 MB
758
42.0 ms
93.34 %
75.1 MB
760
42.0 ms
93.38 %
75.8 MB
758
42.0 ms
93.23 %
72.1 MB
750
42.0 ms
89.46 %
70.7 MB
390
80.2 ms
68.26 %
43.3 MB
950
8.8 ms
10.33 %
130.1 MB
748
42.0 ms
89.48 %
70.3 MB

Popular web frameworks

How does Django compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
21030
1.6 ms
71.96 %
8.5 MB
14707
1.2 ms
2.64 %
136.5 MB
5766
5.5 ms
64.50 %
82.5 MB
3546
1.0 ms
1.14 %
16.7 MB
1185
21.0 ms
21.21 %
41.2 MB
1105
1.7 ms
1.67 %
596.8 MB
1092
7.7 ms
9.22 %
90.3 MB
950
8.8 ms
10.33 %
130.1 MB
759
42.0 ms
93.46 %
77.7 MB
390
80.2 ms
68.26 %
43.3 MB
299
101.7 ms
56.47 %
84.2 MB

© 2025 Tien Do Nam