Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76946

Investigate possible compilation time improvement by compiling gcc and clang from source

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform

      When compiling the compilers we can do two things that should improve compilation time:
      1. We can set arch parameter to match architecture we are using.

      2. We can use profile-guided optimization to optimize compilers to specifically build mongodb. This is done by first compiling the compilers with -fprofile-generate, compiling mongodb to collect the profile and later re-compiling the compilers with optimizations, based on the collected profile with -fprofile-use.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: