This might help shed more light on the problem.
1. https://pypi.org/project/pytest-django-queries/
2. Try cProfile
https://www.geeksforgeeks.org/profiling-in-python/
Regards,
Chetan Ganji
+91-900-483-4183
ganji.che...@gmail.com
http://ryucoder.in
On Tue, Jun 8, 2021 at 1:33 AM Rich
This is heads up in case anyone sees something similar:
I have managed to trigger this degenerate query case in two completely
different Django 2.2 projects. In production with a normal sized dataset,
the query time is fine. But during unit testing with a small subset of the
data, the
2 matches
Mail list logo