On Tue, Aug 13, 2013 at 04:39:57PM -0700, Nicholas Nethercote wrote:
> On Tue, Aug 13, 2013 at 3:34 PM, Ehsan Akhgari <ehsan.akhg...@gmail.com> 
> wrote:
> >
> > Reducing our #include dependency will help speed up the compilation for
> > C/C++ files, and will also help us build fewer files after each change.  We
> > have a tracker bug (785103) for improvements to the #include dependencies,
> > and we have data in bug 901132 to show you where to improve first (see
> > https://bug901132.bugzilla.mozilla.org/attachment.cgi?id=789006 and the
> > discussion around that.)
> 
> Specifically, https://bugzilla.mozilla.org/show_bug.cgi?id=901132#c11
> explains what that file contains:  "This is a list of all include
> relations, ranked by their "criticality": the number of source files
> that would no longer include this header if the #include directive
> were dropped."
> 
> In other words, it ranks each #include statement according to how much
> compilation/recompilation would be saved if the #include statement was
> removed.  Excellent!

Correlated with data from comment 9 (which files are most often
touched), it gives some focus. It would probably be better to correlate
with the pushlog, though, instead of plain hg log as I did in that
attachment.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to