[SERVER-51428] Implement tracking IDL include file dependencies from SCons Created: 08/Oct/20  Updated: 27/Oct/23  Resolved: 27/Oct/23

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 5.0 Desired
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ryan Egesdahl (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Server Development Platform
Participants:

 Description   

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.


Generated at Thu Feb 08 05:25:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.