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

(cherry picked from commit 906b73be5e)

Co-authored-by: Fatih <77548106+fatihkabakk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2023-08-16 01:15:38 -07:00 committed by GitHub
parent af08bcab8f
commit 9e87e07aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -250,9 +250,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