This project aims to provide an overview of Django's performance under different load scenarios.
Machine ID | CPU Vendor ID | CPU Model | CPU Cores | RAM | HDD |
---|---|---|---|---|---|
M1 | GenuineIntel | Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz | 12 | 32 | SSD |
Method ID | API Name | HTTP Method | DB | ORM | ODM | DRF API | Serializer | Response |
---|---|---|---|---|---|---|---|---|
A1 | Return True | GET | - | - | - | APIView | - | {"result": True} |
- Users: Concurrent users that sending requests to the API method.
- RU: Ramp-up users each second.
- WT: Random waiting time between each requests in second.
- SGI: WSGI or ASGI server name.
- SGI W: Number of SGI workers handling HTTP requests.
- Duration: Load test total time in minutes.
- Requests: Total requests within the test duration time.
- Fails: Failed requests number.
- RPS: Approx. of requests number per second.
- AVG RT: Average response time in millisecond.
- Min RT: Minimum response time in millisecond.
- Max RT: Maximum response time in millisecond.
Report ID | Method ID | Machine ID | Users | RU | WT | SGI | SGI W | Duration | Requests | Fails | RPS | Avg RT | Min RT | Max RT |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
R1 | A1 | M1 | 100 | 100 | 0.01 - 0.02 | Gunicorn | 25 | 3m | 159075 | 0 | 909 | 93.01 | 29 | 1160 |
R2 | A1 | M1 | 100 | 100 | 0.01 - 0.02 | Django Server | - | 3m | 34496 | 0 | 196.5 | 493.12 | 76 | 5430 |