Skip to content

Parallel Bootstrap#156

Merged
aminya merged 8 commits intomasterfrom
parallel-bootstrap
Sep 14, 2020
Merged

Parallel Bootstrap#156
aminya merged 8 commits intomasterfrom
parallel-bootstrap

Conversation

@aminya
Copy link
Member

@aminya aminya commented Sep 14, 2020

Description of the change

Run the bootstrap script on different threads in parallel:
- apm installation runs in parallel to installing script/ dependencies
- using JOBS env variable node-gyp is parallelized

Benefits

Running this on a computer with multiple cores gives a good speedup.

Even in the CI with a processor with only 2 cores.

For example, on Linux the bootstrap time is reduced from 7:30 to 3:41, which is 203% faster (2X).

Verification

The CI passes. This is tested locally as well.

Release Notes

  • Faster bootstrapping by using parallelization

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant