Skip to content

Conversation

@joebonrichie
Copy link
Contributor

Summary

time common/CI/package_checks.py --base=origin/ninja-progress
(Branch that is several months out of date and not rebased)
Before: 2m15.567s | Now: 0m35.721s

time common/CI/package_checks.py --base=origin/auto-python-updates
(Branch that is just a few commits behind origin/main)
Before: 0m0.981s | Now: 0m0.602s

I tested converting all checks to async launched from ProcessPoolExecutor() but it seemed to be slower than just targeting slow checks with a ThreadPoolExecutor.

Test Plan

Test package_checks.py continue to work as expected

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

Quick n' Dirty Benchmarks:

time common/CI/package_checks.py --base=origin/ninja-progress
(Branch that is several months out of date and not rebased)
Before: 2m15.567s | Now: 1m9.126s

time common/CI/package_checks.py --base=origin/auto-python-updates
(Branch that is just a few commits behind origin/main)
Before: 0m0.981s | Now: 0m0.696s
@github-project-automation github-project-automation bot moved this to Triage in Solus Sep 16, 2025
@joebonrichie joebonrichie changed the title Faster ci checks common/CI: Parallelize checks and run PackageBumped check in a ThreadPool Sep 16, 2025
Quick n' Dirty Benchmarks

time common/CI/package_checks.py --base=origin/ninja-progress
(Branch that is several months out of date and not rebased)
Before: 1m9.126s | Now: 0m35.721s

time common/CI/package_checks.py --base=origin/auto-python-updates
(Branch that is just a few commits behind origin/main)
Before: 0m0.696s | Now: 0m0.602s
@joebonrichie
Copy link
Contributor Author

Any thoughts on this, we can drop the ThreadPool on PackageBumped to clean things up if needed.

On my laptop the checks are exceedingly slow even when the branch is up to date.

@malfisya malfisya requested a review from silkeh October 25, 2025 13:49
@TraceyC77 TraceyC77 added the hacktoberfest-accepted This PR is accepted for Hacktoberfest label Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted This PR is accepted for Hacktoberfest

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

3 participants