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

Commits on Feb 23, 2024

  1. [ci][generate_cache] Run steps 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 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    60035e6 View commit details
    Browse the repository at this point in the history