Changes between Initial Version and Version 1 of Ticket #30842
- Timestamp:
- Oct 6, 2019, 6:20:11 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30842 – Description
initial v1 1 1 As 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. 2 2 3 This adds a noticeable slowdown. Attaching the flamegraph for queryset fetching 100 objects .3 This adds a noticeable slowdown. Attaching the flamegraph for queryset fetching 100 objects, roughly 2/3 of the time are spent there.