Page MenuHomeSolus

Enable cross-lang PGO
ClosedPublic

Authored by joebonrichie on Mar 18 2020, 6:18 PM.
Tags
None
Referenced Files
F11049907: D8513.id20371.diff
Thu, Aug 10, 6:33 PM
F11049906: D8513.id20344.diff
Thu, Aug 10, 6:33 PM
F11049905: D8513.id.diff
Thu, Aug 10, 6:33 PM
F11035711: D8513.diff
Wed, Aug 9, 6:14 PM
F11018245: D8513.diff
Sun, Aug 6, 10:31 AM
F10852856: D8513.id20371.diff
Jun 13 2023, 6:05 AM
F10844736: D8513.id20344.diff
Jun 10 2023, 9:50 PM
F10835198: D8513.diff
Jun 7 2023, 7:14 PM
Subscribers
Tokens
"Love" token, awarded by Staudey.

Details

Summary

Now that firefox has added StyleBench to their PGO training automation it makes sense to enable cross-lang PGO so that both rust code and cpp code can get profiled. Firefox's CSS engine Stylo is written in rust and StyleBench is written to benchmark CSS performance.

Unfortunately their build system doesn't support cross-lang PGO as part of the MOZ_PGO automated build flag and interally they have switched to using taskcluster to run the steps separately so there's a good chance MOZ_PGO will stop working at some point. Therefore do the PGO steps manually.

The stylebench score increases from 92.1 to 101 with cross-lang PGO and WebRender enabled.

Signed-off-by: Joey Riches <josephriches@gmail.com>

Test Plan

Use firefox as normal

Diff Detail

Repository
R755 firefox
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Mostly putting this on arc first instead of just pushing so I can some comments to cleanup the manual PGO steps. Use of sed and echo is a bit quick and dirty.

This revision is now accepted and ready to land.Mar 19 2020, 3:34 PM
This revision was automatically updated to reflect the committed changes.