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

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 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