Skip to content

ci: don't build benchmarks, only check them#2542

Merged
djc merged 1 commit into
mainfrom
check-benches
Oct 30, 2024
Merged

ci: don't build benchmarks, only check them#2542
djc merged 1 commit into
mainfrom
check-benches

Conversation

@djc
Copy link
Copy Markdown
Member

@djc djc commented Oct 30, 2024

CI currently takes about 17 minutes for a full run, which feels long. The long pole appears to be the nightly job which builds benchmarks (but doesn't run them) in release mode. The goal here should be to make sure that they compile, so instead of running cargo bench --no-run we can run cargo check --benches which should be substantially faster.

@djc
Copy link
Copy Markdown
Member Author

djc commented Oct 30, 2024

This took the build-bench job from 5m 51s to 1m 5s, bringing the total for "past-future (nightly)" down from 9m 6s to 4m 21s.

@djc djc added this pull request to the merge queue Oct 30, 2024
Merged via the queue into main with commit ac4ddb2 Oct 30, 2024
@djc djc deleted the check-benches branch October 30, 2024 21:32
@djc
Copy link
Copy Markdown
Member Author

djc commented Oct 30, 2024

Full CI cycle time seems to be down about 2.5m, so that seems like a nice quick win.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants