#35102: Performance regression on Model.objects.count() between Django 4.2 and
5.0
-------------------------------------+-------------------------------------
Reporter: Anthony Shaw | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"f3d10546a850df4fe3796f972d5b7e16adf52f54" f3d10546]:
{{{
#!CommitTicketReference repository=""
revision="f3d10546a850df4fe3796f972d5b7e16adf52f54"
Refs #35102 -- Optimized replace_expressions()/relabelling aliases by
adding early return.
This avoids costly hashing.
Thanks Anthony Shaw for the report.
Co-Authored-By: Simon Charette <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35102#comment:17>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018d0c4b7472-fd734d73-e3f1-4bf6-8c62-bc2056c63a3d-000000%40eu-central-1.amazonses.com.