-
Notifications
You must be signed in to change notification settings - Fork 741
ci: improve performance via more cache usage #2343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Each overall build.yml run builds bindgen-cli 7 times, cross 8 times, etc. Instead of that, use `taiki-e/cache-cargo-install-action` for all places we would use cargo install/binstall.
Benchmark resultsInstruction countsSignificant differencesThere are no significant instruction count differences Other differencesClick to expand
Wall-timeSignificant differencesThere are no significant wall-time differences Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2343 +/- ##
=======================================
Coverage 94.88% 94.88%
=======================================
Files 103 103
Lines 24191 24191
=======================================
Hits 22953 22953
Misses 1238 1238 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐎
Each overall build.yml run builds bindgen-cli 7 times, cross 8 times, etc. Instead of that, use
taiki-e/cache-cargo-install-actionfor all places we would use cargo install/binstall.Micro comparison (observe runtime of
install taplo-clijob)before: https://github.com/rustls/rustls/actions/runs/13308691489/job/37165532448
after: https://github.com/rustls/rustls/actions/runs/13311776317/job/37175916755
Macro comparison (see bottom row)
before: https://github.com/rustls/rustls/actions/runs/13308691489/usage
after: https://github.com/rustls/rustls/actions/runs/13312167378/usage
The remaining annoyances with CI performance: