Files
pytest2/changelog/4824.bugfix.rst
Ran Benita 470ea504e2 fixtures: fix quadratic behavior in the number of autouse fixtures
It turns out all autouse fixtures are kept in a global list, and thinned
out for a particular node using a linear scan of the entire list each
time.

Change the list to a dict, and only take the nodes we need.
2020-10-25 00:49:23 +03:00

2 lines
116 B
ReStructuredText

Fixed quadratic behavior and improved performance of collection of items using autouse fixtures and xunit fixtures.