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

Implement tracking IDL include file dependencies from SCons

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0 Desired
    • Component/s: Build
    • Labels:
      None
    • Server Development Platform

      There are indications that IDL generated sources can cause extreme slowdowns in compile times because source files may be scanned multiple times by multiple IDL generated sources. It's possible that we could precompile the most-used header files and greatly improve compile times overall. We currently do not have a way to tell which header files an IDL depends on from within SCons, though, which makes difficult an analysis of which header files may provide benefit if precompiled, or how we might be able to arrange some "common" header files for precompilation.

      As a first step to improving build times, we should implement a way to read IDL files and determine a common set that we can precompile for maximum benefit. This needs only enable a proof-of-concept to see whether precompiled headers are of any benefit.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: