Brad's Blog

Why is runserver/daphne so slow? 2017-01-03

(tl;dr) I installed django-channels and now my runserver command is very very slow. django-debug-toolbar was sort of the culprit (not really, because it was my own fault) The problem I've just started a new project using django-channels. Websockets + channels is incredibly powerful, but I noticed something strange: While running django in debug mode, the development server was incredibly slow (on the average of 60s-90s per response). After a bit of digging, it seemed that django-debug-toolbar was to blame ...