A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://django-query-profiler.readthedocs.io/en/latest/how_it_works.html below:

how the profiler works — django-query-profiler 0.0.1 documentation

django-query-profiler how the profiler works¶ Basic Ideas¶
  1. A N+1 query is one which runs the same query (with different params) for the N related objects - one for each N - in a loop
  1. For us to capture stack trace & the query, we have to hook into django to call our data collector when a query is executed
  1. Once we have the above two pieces figured out, we have to start collecting this data when a request happens, and stop when the request gets finished, ie. figure out the boundaries of profiling
  1. Once we have this data, where should the data be displayed about the stack trace & the query
Implementation details¶

This part is divided by the package that answers the four question/idea discussed above

1. query_profiler_storage¶
2. django¶
3. client¶
4. chrome plugin¶

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4