Skip to content
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

[ci][generate_cache] Run steps in parallel #940

Merged
merged 1 commit into from
Feb 23, 2024
Merged

[ci][generate_cache] Run steps in parallel #940

merged 1 commit into from
Feb 23, 2024

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Feb 23, 2024

In the shell script that is the main body of the generate_cache job, background each task and then wait for them all to complete so that they can run in parallel.

In the shell script that is the main body of the `generate_cache` job,
background each task and then wait for them all to complete so that they
can run in parallel.

In one test, this sped up the execution time of the "Download
dependencies" step of the `generate_cache` job from 29s [1] to 18s [2].

[1] https://github.com/google/zerocopy/actions/runs/8022266381/job/21916187070?pr=932

[2] https://github.com/google/zerocopy/actions/runs/8022379583/job/21916562791?pr=940
@joshlf joshlf added this pull request to the merge queue Feb 23, 2024
Merged via the queue into main with commit 461bc15 Feb 23, 2024
210 checks passed
@joshlf joshlf deleted the ci-optimize branch February 23, 2024 17:07
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.

None yet

2 participants