On 2013-08-26 6:16 PM, Mike Shal wrote:
On 08/25/2013 12:05 PM, Ehsan Akhgari wrote:
Note that the code itself (and not just its size) being compiled can also
change the compilation time, as the compiler needs to perform things such
as template instantiation, Koenig name look-ups, etc.  Those factors will
not change by reducing the #include dependencies.


This tool only seems to measure the size of the .cpp file, not the size
of the pre-processed source seen by the compiler. It would be
interesting to see if the numbers are more consistent with that taken
into account, or if it still varies wildly because of the features used
by the code.

Oh, I didn't realize that! That makes their measurement pretty much useless. ;-)

Cheers,
Ehsan

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

Reply via email to