gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849)

This commit is contained in:
Fatih 2023-08-08 15:47:15 +03:00 committed by GitHub
parent 7c5153de5a
commit 906b73be5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -251,9 +251,11 @@ against a profiling library and contain extra debug information. The
PGUpdate configuration takes the profiling data and generates optimized
binaries.
The build_pgo.bat script automates the creation of optimized binaries.
It creates the PGI files, runs the unit test suite or PyBench with the
PGI python, and finally creates the optimized files.
The build.bat script has an argument `--pgo` that automate the creation
of optimized binaries.
It creates the PGI files, runs the unit test suite with the PGI python,
and finally creates the optimized files.
You can customize the job for profiling with `--pgo-job <job>` option.
See
https://docs.microsoft.com/en-us/cpp/build/profile-guided-optimizations