Query time in django debug toolbar

301 Views Asked by At

I see time of query QUERY = 'SELECT COUNT_BIG(*) AS [__count] FROM ... in Django debug toolbar. Is it pure perfomance of database or dirty time that includes handling of query by Django and third-party libraries?

1

There are 1 best solutions below

0
nigel239 On

As seen on the docs:

SQL

classdebug_toolbar.panels.sql.SQLPanel

SQL queries including time to execute and links to EXPLAIN each query.

This means it doesn't include django processing time.

https://django-debug-toolbar.readthedocs.io/en/latest/panels.html#sql