HomeSolus

Enable cross-lang PGO

Authored by joebonrichie on Mar 18 2020, 6:08 PM.

Description

Enable cross-lang PGO

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

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Subscribers: JoshStrobl

Differential Revision: https://dev.getsol.us/D8513

Details

Committed
joebonrichieMar 20 2020, 4:36 PM
Pushed
joebonrichieMar 20 2020, 4:36 PM
Reviewer
Triage Team
Differential Revision
D8513: Enable cross-lang PGO
Parents
R755:25bf9b3052c0: Update firefox to 74.0
Branches
Unknown
Tags
Unknown
References
tag: firefox-74.0-187