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

parallel install core #286

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Conversation

nabuskey
Copy link
Collaborator

@nabuskey nabuskey commented Jun 7, 2024

Currently, we install core packages sequentially and some of them take minimum one minute to install. We can install them in parallel to significantly reduce bootstrap time.

Current:

# output of time ./idpbuilder create --recreate
real	2m53.446s
user	0m1.647s
sys	0m0.934s

With this PR:

# output of time ./idpbuilder create --recreate
real	1m27.973s
user	0m1.729s
sys	0m0.919s

The absolute amount in reduction varies between systems, but it should reduce the time to bootstrap by a similar percentage.

Signed-off-by: Manabu McCloskey <[email protected]>
Copy link
Contributor

@nimakaviani nimakaviani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nimakaviani nimakaviani merged commit 991586c into cnoe-io:main Jun 10, 2024
3 checks passed
@nabuskey nabuskey deleted the parallel-install branch June 10, 2024 21:09
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