Open Bug 1427314 Opened 7 years ago Updated 2 years ago

Track a better metric than sccache hit rate

Categories

(Firefox Build System :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

References

(Blocks 1 open bug)

Details

I had a random thought while filing bug 1427313. We're currently tracking build times and sccache hit rates, but a few rust crates count for 1 hit or miss each, but take a very long time to build when we get a miss (I'm looking at you, style). Which means there are many cases where we see a 0.99 or 1.0 hit rate, but bad build times.

While build time gives some insight to that, one always needs to look at sccache logs (possibly lots of them) to figure out whether sccache is involved in build times regressions, or whether it's something else.

So here's my thought: maybe the right metric to track with perfherder is the cumulative time spent invoking compilers by sccache.
This sounds useful.

And it is related to metrics. So chaining to fastci tracker.
Blocks: fastci
Priority: -- → P2
Product: Core → Firefox Build System
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.