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

[currencyservice] Create multiple build jobs to optimize build time #569

Merged
merged 3 commits into from
Nov 11, 2022

Commits on Nov 11, 2022

  1. [currencyservice] Create multiple build jobs to optimize build time

    Create multiple build jobs to run the build in parallel and optimize build time. Different commands are needed to find the number of available CPU cores per OS.
    
    make -j$(nproc || sysctl -n hw.ncpu || echo 1)
    - Uses nproc on Linux
    - Uses sysctl -n hw.ncpu on macOS
    - Uses 1 core for others
    
    Currency service had the longest build times among the Demo App services.
    
    Rough build time improvements with this change:
    Linux, docker (Ryzen 5 5600G): 1000 s -> 400 s.
    macOS, docker desktop (M1 Pro): 750 s -> 450 s.
    mviitane committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    5e69216 View commit details
    Browse the repository at this point in the history
  2. Add changelog

    mviitane committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    e9f5071 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb203d6 View commit details
    Browse the repository at this point in the history