On Thu, Oct 1, 2015 at 10:12 PM, Kyle Huey <m...@kylehuey.com> wrote:

> How much time does it save?
>

On my MBP, removing all CPP_UNIT_TESTS from moz.builds (which also stops
the production of a few static libraries):

 -141s CPU time (6831s total, so 2%)
   -16s wall time

`mach build binaries` also consumed a fraction more CPU. But wall time was
within measurement variance.

-16s wall time / 2% isn't much on a 16-17 minute build (on this 2 year old
machine). It will be longer on Windows (because Windows) and on machines
with fewer cores (hopefully you are building with 4+ cores). But it is
still a net reduction. C++ building already scales up to several cores and
uses ~100% CPU. So the only way to make C++ build faster is by not building
so much or building what we have more efficiently (avoiding complex
templates, etc).
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to