GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [self-tests] test time degradation · Issue #13482 · pytest-dev/pytest

[self-tests] test time degradation #13482

New issue
Copy link
New issue
Copy link
Closed
#13525
Closed
[self-tests] test time degradation#13482
#13525
Copy link
Labels
type: regressionindicates a problem that was introduced in a release which was working previouslytype: selftestsa problem in the tests of pytest

Description

@stanislavlevin
stanislavlevin
opened on Jun 3, 2025
Issue body actions

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

  1. RonnyPfannschmidt
    added
    type: regressionindicates a problem that was introduced in a release which was working previously
    type: selftestsa problem in the tests of pytest
    on Jun 3, 2025
  2. bluetech commented on Jun 3, 2025

    @bluetech
    bluetech
    on Jun 3, 2025
    Member
    More actions

    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

  3. nicoddemus commented on Jun 14, 2025

    @nicoddemus
    nicoddemus
    on Jun 14, 2025
    Member
    More actions

    @graingert any chance you can take a look at this? The CI times are really high, with some jobs taking 30+ minutes...

    Image

  4. nicoddemus
    added a commit that references this issue on Jun 14, 2025

    pytester: patch GC_COLLECT_ITERATIONS to speed up the test suite

    This issue will close once commit 7728370 is merged into the 'main' branch.
    7728370
  5. nicoddemus commented on Jun 14, 2025

    @nicoddemus
    nicoddemus
    on Jun 14, 2025
    Member
    More actions

    Proposed a solution in #13513.

    Image

  6. nicoddemus
    added a commit that references this issue on Jun 14, 2025

    pytester: patch GC_COLLECT_ITERATIONS to speed up the test suite

    This issue will close once commit bb542d4 is merged into the 'main' branch.
    bb542d4
  7. bluetech
    added 2 commits that reference this issue on Jun 16, 2025

    pytester: avoid unraisableexception gc collects in inline runs to spe…

    This issue will close once commit e83640d is merged into the 'main' branch.
    e83640d

    pytester: avoid unraisableexception gc collects in inline runs to spe…

    This issue will close once commit 4a73ab6 is merged into the 'main' branch.
    4a73ab6
  8. nicoddemus
    closed this as completedin 391324eon Jun 16, 2025
  9. patchback
    added a commit that references this issue on Jun 16, 2025

    pytester: avoid unraisableexception gc collects in inline runs to spe…

    This issue will close once commit 0b56e52 is merged into the 'main' branch.
    0b56e52
  10. nicoddemus
    added 2 commits that reference this issue on Jun 16, 2025

    pytester: avoid unraisableexception gc collects in inline runs to spe…

    This issue will close once commit 391324e is merged into the 'main' branch.
    391324e

    pytester: avoid unraisableexception gc collects in inline runs to spe…

    This issue will close once commit 4c161ab is merged into the 'main' branch.
    4c161ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionindicates a problem that was introduced in a release which was working previouslytype: selftestsa problem in the tests of pytest

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.