On 2013-11-15 4:58 AM, Neil wrote:
Ehsan Akhgari wrote:

we go down from 1m51s on my machine to 31s

And how does that compare to the case where you touch one .cpp file in
each subdirectory of layout?

It depends on which file, obviously, but here is an example with a random file:

Before the patch:

$ touch layout/generic/FrameChildList.cpp
$ time make -s -j8 -C obj-ff-dbg/layout/generic/
FrameChildList.o
libgkgeneric_s.a.desc

real    0m0.793s
user    0m0.669s
sys     0m0.112s

After the patch:

$ touch layout/generic/FrameChildList.cpp
$ time make -s -j8 -C obj-ff-dbg/layout/generic/
Unified_cpp_layout_generic0.o
libgkgeneric_s.a.desc

real    0m0.855s
user    0m0.323s
sys     0m0.131s

As I said in my first post, touching one cpp file and building will be slightly slower with unified builds.

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

Reply via email to