mirror of https://github.com/zulip/zulip.git
48b925931e
The process of running Django's built-in database and config checks can be very heavy-weight, potentially taking multiple seconds: ``` $ hyperfine './manage.py print_initial_password iago@zulip.com' './manage.py print_initial_password iago@zulip.com --skip-checks' Benchmark 1: ./manage.py print_initial_password iago@zulip.com Time (mean ± σ): 4.943 s ± 0.722 s [User: 4.434 s, System: 0.311 s] Range (min … max): 4.415 s … 6.835 s 10 runs Benchmark 2: ./manage.py print_initial_password iago@zulip.com --skip-checks Time (mean ± σ): 1.786 s ± 0.113 s [User: 1.598 s, System: 0.162 s] Range (min … max): 1.576 s … 1.999 s 10 runs Summary './manage.py print_initial_password iago@zulip.com --skip-checks' ran 2.77 ± 0.44 times faster than './manage.py print_initial_password iago@zulip.com' ``` This extends the window during which nginx is forced to serve 502's to clients. |
||
---|---|---|
.. | ||
kandra | ||
zulip | ||
deps.yaml |