3 ms·
Last time I checked, simply running Django through the ASGI interface dealt you a baseline perf hit.
by pphysch 2y ago
Last time I checked, simply running Django through the ASGI interface dealt you a baseline perf hit.
- simonw 2y agoIt's pretty minimal: https://docs.djangoproject.com/en/5.1/topics/async/#performance https://docs.djangoproject.com/en/5.1/topics/async/#performa... > When running in a mode that does not match the view (e.g. an async view under WSGI, or a traditional sync view under ASGI), Django must emulate the other call style to allow your code to run. This context-switch causes a small performance penalty of around a millisecond.