forked from pytest-dev/pytest
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This improves collection time when keywords are not used, and helps by factoring out the code in general. With `PYTEST_REORDER_TESTS=0` (since the re-ordering triggers getting keywords to add marks to it...): Before: raw times: 1.58 sec, 1.56 sec, 1.57 sec, 1.57 sec, 1.57 sec 1 loop, best of 5: 1.56 sec per loop After: raw times: 1.49 sec, 1.48 sec, 1.48 sec, 1.5 sec, 1.47 sec 1 loop, best of 5: 1.47 sec per loop
- Loading branch information
Showing
3 changed files
with
102 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters