On 27/11/12 22:35, Gregory Szorc wrote:
> I feel the build system should be as fast as possible by default - no
> user action necessary. If you find that -j == # cores isn't providing
> the fastest builds possible, please present your data and we'll change
> the default value.

I recently changed my laptop so I tried to tweak a bit my -j value and
it happens that 2N is faster than N for me. IIRC, that was a 5-10
minutes difference for a 30-35 minutes basis.

My feeling is that most of the time, the -j value isn't an exact
science. During years, I was setting j to N+1, some people use N and
other 2N. I would guess that the correct value depends on a lot of
variables.

If you really want to get rid of MOZ_MAKE_FLAGS, maybe you could add a
new variable to just set the -j value with a default to N if most people
thing this is the best value.

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

Reply via email to