Experiment: PGO for desktop application #170931
Labels
electron
Issues and items related to Electron
engineering
VS Code - Build / issue tracking / etc.
perf
Projects
Milestone



Chromium build configuration has opt-in support for PGO https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/docs/pgo.md. The issue is to track the effort of optimizing the Electron runtime with PGO for VSCode. This will be a multi-step process and initially some manual steps are also involved, we will investigate automating the whole flow if the results are satisfying.
For this experiment, we are using the instrumented version to collect the profile. Steps involved are as follows,
Instrumentation Phase
Building
Running
Selfhost on the build and perform your everyday tasks, at the end of every run files with extension
*.profrawwill be generated in the user data directory underPGO_Profilesfolder.*.profrawfiles to#proj-pgochannelOptimization Phase
Building
.profrawfiles into.profdatausing llvm-profdata script.profdatausing the following build flagsThe text was updated successfully, but these errors were encountered: