Join GitHub today
fixtures.reorder_items performs poorly for large numbers of parametrized fixtures #3107
If a parametrized fixture generates n items, then reorder_items will have roughly O(n^2) performance. Slice items is called for each item and then iterates over the list of items to find matching groups. We can improve this by pre-caching items by fixture (like argkeys_cache but in reverse).
I've already got code ready for a pull request, I'm just making this issue for record-keeping / discussion.