Django-debug-toolbar extremely slowing down loading page

2k views Asked by At

I want to profile my project to figure out what indices to create in db. I've installed django-debug-toolbar. The problem is that it is extremely slowing down page loading.

Moreover, couple minutes ago it was showing about 80 000 queries, now it takes about 48 seconds and it says that there are 2300 queries (which is according to Django Querycount correct). But when I turn django-debug-toolbar off, it works correctly (about 3 or 4 seconds).

Do you know what could cause problem? I've found that this was bug, but it was a couple years ago.

enter image description here

0

There are 0 answers