Skip to content

Parallel Bootstrap - #156

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

Parallel Bootstrap#156
aminya merged 8 commits into
masterfrom
parallel-bootstrap

Conversation

@aminya

@aminyaaminya commented Sep 14, 2020

Copy link
Copy Markdown
Member

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

@aminya
aminya merged commit 8dc7cfd into masterSep 14, 2020
@aminyaaminya mentioned this pull request Oct 2, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@aminya