Changes between Initial Version and Version 1 of Ticket #30842


Ignore:
Timestamp:
Oct 6, 2019, 6:20:11 AM (5 years ago)
Author:
Alex Aktsipetrov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30842 – Description

    initial v1  
    11As part of the [https://code.djangoproject.com/ticket/26226 bugfix] django started constructing N+1 querysets during a typical prefetch_related call while only 2 sql queries are executed.
    22
    3 This adds a noticeable slowdown. Attaching the flamegraph for queryset fetching 100 objects.
     3This adds a noticeable slowdown. Attaching the flamegraph for queryset fetching 100 objects, roughly 2/3 of the time are spent there.
Back to Top