Tijani-Dia / dj-tracker

A Django app that tracks your queries to help optimize them. Demo: https://dj-tracker-bakerydemo.fly.dev/dj-tracker/
https://tijani-dia.github.io/dj-tracker/
BSD 3-Clause "New" or "Revised" License
80 stars 3 forks source link

Actively report N+1 queries #9

Closed Tijani-Dia closed 1 year ago

Tijani-Dia commented 1 year ago

Once we have a query group for a request, it's easy to detect if we have an N+1 situation by looking at the Related queries. However, one must first know the request to look at. It'd be nice to display all N+1/related queries problems found without having to go through all the requests manually.