Closed Bug 1690373 Opened 4 years ago Closed 3 years ago

Extend Browsertime to collect select PerfStats

Categories

(Core :: Performance, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox87 --- affected

People

(Reporter: acreskey, Assigned: acreskey)

References

()

Details

In Bug 1553254 we added the ability to record internal probes in a low-overhead manner.

These are useful for measuring specific timings that are easily lost within the noise of pageload.

This bug is to extend Browsertime so that we can extract chosen Perfstats for local analysis or use in automated performance tests.

The front-end for PerfStats is already in place.
https://phabricator.services.mozilla.com/D32878

And so it is expected that most of the work will be done in the browsertime repo:
https://github.com/sitespeedio/browsertime

Andrew do you have thoughts on the priority and severity of this bug? If so could you please update it. thank you.

Flags: needinfo?(acreskey)

(In reply to Andrew Creskey [:acreskey] [he/him] from comment #0)

In Bug 1553254 we added the ability to record internal probes in a low-overhead manner.

These are useful for measuring specific timings that are easily lost within the noise of pageload.

This bug is to extend Browsertime so that we can extract chosen Perfstats for local analysis or use in automated performance tests.

The front-end for PerfStats is already in place.
https://phabricator.services.mozilla.com/D32878

And so it is expected that most of the work will be done in the browsertime repo:
https://github.com/sitespeedio/browsertime

Eep! Andrew, just note that that front-end stuff never landed to the best of my knowledge. So privileged JS is the only way to get at PerfStats (your assertion that the work would be in BrowserTime though, is accurate).

(In reply to Kim Moir [:kmoir] ET from comment #1)

Andrew do you have thoughts on the priority and severity of this bug? If so could you please update it. thank you.

I'd like some input from the team on this one (I think it's quite important!), so we're going to discuss in next week's Performance Strategy meeting and I'll set a priority at that point.

(In reply to Bas Schouten (:bas.schouten) from comment #2)
...

Eep! Andrew, just note that that front-end stuff never landed to the best of my knowledge. So privileged JS is the only way to get at PerfStats (your assertion that the work would be in BrowserTime though, is accurate).

Ah, good to know.
We can run privileged JS through Browsertime so this should work.

We discussed this in the Performance Strategy meeting and it was universally agreed that is high-value.

Severity: -- → N/A
Flags: needinfo?(acreskey)
Priority: -- → P1
Assignee: nobody → acreskey

I should be able to extract the perfstats to report as the perftest metrics.

This change is integrated in our in-tree browsertime and we can also run performance tests that collect the metrics.
e.g.
https://searchfox.org/mozilla-central/rev/42ae3bea104c37a9986c6f18d17bd9ddb387129c/taskcluster/ci/perftest/windows.yml#178

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.