Performance: Gunicorn for production serving
HIGH IMPACT
This affects server response time and how quickly the browser receives the first byte, impacting page load speed and interaction readiness.
gunicorn -w 4 -b 0.0.0.0:8000 myapp:app
app.run(host='0.0.0.0', port=8000)
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Flask built-in server | N/A | N/A | Delays first paint due to slow response | [X] Bad |
| Gunicorn with multiple workers | N/A | N/A | Faster first paint due to quicker response | [OK] Good |