Open
Bug 1503559
Opened 6 years ago
Updated 2 years ago
Experiment: train PGO build with full websites, evaluate performance with Visual Metrics
Categories
(Core :: Performance, enhancement, P3)
Tracking
()
NEW
Performance Impact | none |
People
(Reporter: acreskey, Unassigned)
References
(Blocks 1 open bug)
Details
Currently the PGO builds use the following set of tests and pages to train the optimizer: https://searchfox.org/mozilla-central/source/build/pgo/index.html These tests may or may not exercise sufficient codepaths to optimize for page load. This bug is to run an experiment where the PGO is trained on live websites. For example, the sites in the tp6-p1 corpus. Whether or not this produces a better optimization can be tested by running the a visual metrics comparison with Browsertime.
Reporter | ||
Comment 1•6 years ago
|
||
Blocks: https://bugzilla.mozilla.org/show_bug.cgi?id=1505256
Updated•6 years ago
|
Assignee: nobody → brennie
Status: NEW → ASSIGNED
Comment 2•6 years ago
|
||
FWIW (sorry if I'm repeating something you already know) in Firefox 63 we switched from MSVC to clang-cl on Windows. Before that for many years we didn't change the PGO training set all that much mostly out of the fear of triggering new PGO crashes caused by MSVC bugs. Now we don't have that limitation any more \o/. Bug 1356652 was the last major change to our PGO training set where we imported the Speedometer benchmark. Besides that, the rest of what we run in the PGO training set hardly tests anything interesting in the browser. There is sunspider and a couple of other pages that test a few DOM APIs and that's about it. I'm very excited to see what improvements we can unlock by including better pagesets in our PGO training set. Thanks a lot for taking on this challenge.
Updated•5 years ago
|
Priority: -- → P3
Reporter | ||
Comment 3•5 years ago
|
||
Hi Barret - we're thinking now that this would be better done with Visual Metrics.
Are you interested in trying this again?
I can run the visual metrics if you can supply the binaries...
Flags: needinfo?(brennie)
Reporter | ||
Comment 4•5 years ago
|
||
Updated: a simpler strategy of training against live sites and comparing performance with the more meaningful visual metrics
Summary: Experiment: train PGO build with raptor tp-6 tests → Experiment: train PGO build with full websites, evaluate performance with Visual Metrics
Comment 5•5 years ago
|
||
Yeah I know the incantations to make PGO point at different sites, but I am busy probably for the rest of the quarter. I can take a look at this then.
Flags: needinfo?(brennie)
Reporter | ||
Comment 6•4 years ago
|
||
I did a quick test where I saved a few sites (facebook/google/bing) to disk and ran the android PGO training run on them.
Maybe some modest ~3% improvements on facebook in this compare
and also here with an -O2 optimized binary.
Updated•4 years ago
|
Updated•2 years ago
|
Assignee: brennie → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Performance Impact: --- → -
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•