GeezerVison is showing github.com — [self-tests] test time degradation · Issue #13482 · pytest-dev/pytest
[self-tests] test time degradation #13482
Description
With Pytest 8.4.0 its tests suite takes significantly more time (compared to Pytest 8.3.5).
pytest's GHA:
8.3.x https://github.com/pytest-dev/pytest/actions/runs/15395204364/job/43314570031
platform linux -- Python 3.12.10, pytest-8.3.6.dev28+g1764fd049, pluggy-1.6.0
===== 3640 passed, 114 skipped, 11 xfailed, 1 xpassed in 335.83s (0:05:35) =====
8.4.x https://github.com/pytest-dev/pytest/actions/runs/15400542935/job/43331856904
platform linux -- Python 3.12.10, pytest-8.4.1.dev3+g7ddd7468e, pluggy-1.6.0
==== 3782 passed, 117 skipped, 11 xfailed, 1 xpassed in 1227.11s (0:20:27) =====
I can see this locally too.
Activity
bluetech commented on Jun 3, 2025
Bisected to 4b32e7c Enhancements to unraisable plugin (#12958). The major chunk of the extra time is gc_collect_harder but not all of it.
cc @graingert
nicoddemus commented on Jun 14, 2025
@graingert any chance you can take a look at this? The CI times are really high, with some jobs taking 30+ minutes...

added a commit that references this issue
on Jun 14, 2025This issue will close once commit 7728370 is merged into the 'main' branch.7728370 nicoddemus commented on Jun 14, 2025
Proposed a solution in #13513.

added a commit that references this issue
on Jun 14, 2025This issue will close once commit bb542d4 is merged into the 'main' branch.bb542d4 added 2 commits that reference this issue
on Jun 16, 2025This issue will close once commit e83640d is merged into the 'main' branch.e83640d This issue will close once commit 4a73ab6 is merged into the 'main' branch.4a73ab6 added a commit that references this issue
on Jun 16, 2025This issue will close once commit 0b56e52 is merged into the 'main' branch.0b56e52 added 2 commits that reference this issue
on Jun 16, 2025This issue will close once commit 391324e is merged into the 'main' branch.391324e This issue will close once commit 4c161ab is merged into the 'main' branch.4c161ab
Metadata
Metadata
Development
No branches or pull requestsIssue actions