Skip to content

Enhancement: Parallelize plugin builds, use docker layer caching#115

Open
prasadlohakpure wants to merge 6 commits into
mainfrom
enhancement/parallelize_plugin_builds
Open

Enhancement: Parallelize plugin builds, use docker layer caching#115
prasadlohakpure wants to merge 6 commits into
mainfrom
enhancement/parallelize_plugin_builds

Conversation

@prasadlohakpure

@prasadlohakpure prasadlohakpure commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

This pull request updates the plugin build process in the build.sh script 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:

  • Modified the plugins build command in build.sh to use xargs -P 0 for parallel building of plugins, which speeds up the build process.
  • Added an echo statement to log the name of each plugin as it is being built, providing clearer feedback during the build.
  • Added docker layer build caching to reduce time taken in incremental builds.

Results

  • Before(with UI build disabled, simply benchmarking go builds)
    ./build.sh 41.18s user 13.05s system 89% cpu 1:00.64 total

  • After
    ./build.sh 55.11s user 19.25s system 198% cpu 37.416 total
    193% cpu usage suggests build generation utilised multiple cores
    Savings in build time: ~40%

Copilot AI review requested due to automatic review settings July 2, 2026 04:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 0 to 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.

Comment thread build.sh Outdated
Comment thread build.sh Outdated
@prasadlohakpure prasadlohakpure changed the title Enhancement: Parallelize plugin builds Enhancement: Parallelize plugin builds, use docker layer caching Jul 2, 2026
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.

3 participants