Skip to content

Investigate CI slowdown since Python 3.12 bump #576

Description

@utensil

After #564 bumped CI from Python 3.8/3.9/3.10 to 3.10/3.11/3.12, total CI runtime increased by ~40–50 seconds.

Before #564: ~280–326 s (median ~320 s)
After #564: ~352–371 s (median ~360 s)

The cause is that Python 3.12 is the slowest job (~6 min) while 3.10 and 3.11 finish in ~4 min. Since jobs run in parallel, 3.12 sets the ceiling. Previously 3.10 was the ceiling at ~4 min.

Possible investigations:

  • Why is the 3.12 job ~2 min slower? Is it test execution time, dependency install, or runner warmup?
  • Are there specific tests or notebooks that are slower under 3.12?
  • Could caching be improved to reduce install time?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions