My library https://github.com/adamchainz/django-perf-rec also has some popularity, it's like assertNumQueries on steroids
I'd still like to revisit and one day merge auto prefetch_related that would turn every N+1 queries into 2 bigger queries ( https://groups.google.com/d/msg/django-developers/EplZGj-ejvg/nYb0jxSTBgAJ ). On Tue, 28 May 2019 at 17:50, Flavio Curella <flavio.cure...@gmail.com> wrote: > On Tuesday, May 28, 2019 at 11:48:11 AM UTC-5, James Bennett wrote: >> >> >> I guess my question is: if your devs won't check this in tests, why do >> you expect they'll check it through another mechanism? :) >> > > I don't expect them to. The logging is for me, the consultant hired to > find why their code is slow :P > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/4cbd0052-7f2f-48de-b58a-242784d43767%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/4cbd0052-7f2f-48de-b58a-242784d43767%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM35ww2EDbbnS6F46Gp5FMSD4ASyKxKYwYoMajnXb4MoMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.