Enhancement: Parallelize plugin builds, use docker layer caching#115
Open
prasadlohakpure wants to merge 6 commits into
Open
Enhancement: Parallelize plugin builds, use docker layer caching#115prasadlohakpure wants to merge 6 commits into
prasadlohakpure wants to merge 6 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s build.sh build pipeline to speed up plugin compilation by running plugin builds in parallel and adding per-plugin logging to improve build output clarity.
Changes:
- Parallelized plugin builds using
xargs -P 0to utilize multiple CPU cores. - Added a log line (
building plugin: ...) for each plugin build invocation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…uilds' into enhancement/parallelize_plugin_builds
Yash Shrivastava (alephys26)
previously approved these changes
Jul 2, 2026
8deadb5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the plugin build process in the
build.shscript to improve build performance and provide clearer build output. The most important change is the use of parallel execution for building plugins and adding a log message for each plugin being built.Build process improvements:
build.shto usexargs -P 0for parallel building of plugins, which speeds up the build process.Results
Before(with UI build disabled, simply benchmarking go builds)
./build.sh 41.18s user 13.05s system 89% cpu 1:00.64 totalAfter
./build.sh 55.11s user 19.25s system 198% cpu 37.416 total193% cpu usage suggests build generation utilised multiple cores
Savings in build time: ~40%