This bug is a meta bug to aggregate some efforts to reduce the aggregated number of included files across the code base, in order to reduce the build times on both incremental and clobber builds. Preliminary measurements of these efforts show: * Clang frontend time for a clobber build reduces by 12.6% from 7487s to 6541s * Wall time for a clobber build reduces by 6% from 881s to 828s (the effect is less visible here e.g. because of the significant impact of Rust compilation) * Aggregated number of include files reduces by 21% from 2.8 million to 2.2 million * Number of unified translation units affected by a change to dom/base/Document.h reduces by 52% from 1161 to 557, build wall time reduces by 43% from 535s to 306s * Build wall time after adding a message to PBrowser.ipdl reduces by 10% from 170s to 154s All numbers are for Linux debug builds on my workstation.
Bug 1676346 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This bug is a meta bug to aggregate some efforts to reduce the aggregated number of included files across the code base, in order to reduce the build times on both incremental and clobber builds. Preliminary measurements of these efforts show: * Clang frontend time for a clobber build reduces by 12.6% from 7487s to 6541s * Wall time for a clobber build reduces by 6% from 881s to 828s (the effect is less visible here e.g. because of the significant impact of Rust compilation) * Aggregated number of include files reduces by 21% from 2.8 million to 2.2 million * Number of unified translation units affected by a change to dom/base/Document.h reduces by 52% from 1161 to 557, build wall time reduces by 49% from 535s to 274s * Build wall time after adding a message to PBrowser.ipdl reduces by 10% from 170s to 154s All numbers are for Linux debug builds on my workstation.
This bug is a meta bug to aggregate some efforts to reduce the aggregated number of included files across the code base, in order to reduce the build times on both incremental and clobber builds. Preliminary measurements of these efforts show: * Clang frontend time for a clobber build reduces by 12.6% from 7487s to 6541s * Wall time for a clobber build reduces by 6% from 881s to 828s (the effect is less visible here e.g. because of the significant impact of Rust compilation) * Aggregated number of include files reduces by 21% from 2.8 million to 2.2 million * Number of unified translation units affected by a change to dom/base/Document.h reduces by 52% from 1161 to 557, build wall time reduces by 49% from 535s to 274s * Number of unified translation units affected by a change to js/StructuredClone.h reduces by 34% from 1290 to 855, build wall time reduces by 29% from 540s to 382s * Number of unified translation units affected by a change to tools/profiler/public/GeckoProfiler.h reduces by 32% from 1541 to 1049, build wall time reduces by 23% from 571s to 438s (this still seems to be quite a bit more than necessary) * Build wall time after adding a message to PBrowser.ipdl reduces by 10% from 170s to 154s All numbers are for Linux debug builds on my workstation.
This bug is a meta bug to aggregate some efforts to reduce the aggregated number of included files across the code base, in order to reduce the build times on both incremental and clobber builds. Preliminary measurements of these efforts show: * Clang frontend time for a clobber build reduces by 12.6% from 7487s to 6541s * Wall time for a clobber build reduces by 6% from 881s to 828s (the effect is less visible here e.g. because of the significant impact of Rust compilation) * Aggregated number of include files reduces by 21% from 2.8 million to 2.2 million * Number of unified translation units affected by a change to dom/base/Document.h reduces by 52% from 1161 to 557, build wall time reduces by 49% from 535s to 274s * Number of unified translation units affected by a change to js/StructuredClone.h reduces by 34% from 1290 to 855, build wall time reduces by 29% from 540s to 382s * Number of unified translation units affected by a change to tools/profiler/public/GeckoProfiler.h reduces by 36% from 1541 to 987, build wall time reduces by 27% from 571s to 417s (this still seems to be quite a bit more than necessary) * Build wall time after adding a message to PBrowser.ipdl reduces by 10% from 170s to 154s All numbers are for Linux debug builds on my workstation.