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

gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849)
(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 05:24:47 -07:00 committed by GitHub
parent c2fb25a714
commit 8cb750df13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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