Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29802

Investigate compile time improvement tuning -T4C flag

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 11.x
    • Component/s: CI/CD

      Description

      Today we build using -T4C to use parallelism with 4 core, docker puts some hard limit and we see the message:

      Using the MultiThreadedBuilder implementation with a thread count of 16

      This speeds up download for sure but may add contention during compile time.

      Build time is around 10min on JX let's try to reduce to -T1C to see if it helps or not.

      Also, it worths to try to git clone only the branch with 50 last commits instead of everything see https://medium.com/pinterest-engineering/how-a-one-line-change-decreased-our-build-times-by-99-b98453265370

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bdelbosc Benoit Delbosc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: