2015-11-10 04:12 に Andreas Tolfsen さんは書きました:
On 9 November 2015 at 18:39, William Lachance <wlacha...@mozilla.com>
wrote:
Chris Manchester has volunteered to look into submitting build times
in
automation to perfherder here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1222549
Another thing it might be interesting to look at is ccache utilisation
over time, and how our changes to the build system (unified builds
come into mind) are affecting hits and misses. I'm not sure if this
is feasible to test.
I think simply grepping "Result:" in ccache log of the day will give us
some ideas:
The ratios as follows will be important.
- Hits / the total number of Result: lines
- Misses / the total number of Result: lines
- others / the total number of Result: lines
(ccache produces other results: some compilation and linking are
recognized as artifact for
configure and other build-specific compilations and they are not handled
by ccache.)
Daily changes tracked over time should give us the feel for major build
infra change such as the introduction of unified compilation and other
future changes.
Just a thought.
BTW, does the version of ccache in the mozilla compilation farm
support --split-dwarf now?
According to https://ccache.samba.org/releasenotes.html
ccache 3.2.3
Release date: 2015-08-16
New features and improvements
Added support for compiler option -gsplit-dwarf.
I checked Debian packages and Debian now provides 3.2.4 and so
-gpslit-dwarf is supported.
"--gsplit-dwarf" certainly makes a difference on local linux build.
I helped the incorporation of the feature into ccache, and I am glad
that
it makes local build much faster! I can't live without it.
I found I could build TB even under 32-bit linux using the modified
ccache and gcc --split-dwarf and GNU gold linker during ccache patch
development although I usually use the modified ccache under 64-bit
linux.
The support of -gsplit-dwarf would/should lessen the CPU load on the
mozilla compilation farm.
This has been a plug from the ccache patch author :-)
CI
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform