From: Fatih <77548106+fatihkabakk@users.noreply.github.com> Date: Tue, 8 Aug 2023 12:47:15 +0000 (+0300) Subject: gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849) X-Git-Tag: v3.13.0a1~1030 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=906b73be5eada1995bd667a02c59f7a11998310f;p=thirdparty%2FPython%2Fcpython.git gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849) --- diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index 86ad3ab1a40d..1d3b45b7912a 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -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 ` option. See https://docs.microsoft.com/en-us/cpp/build/profile-guided-optimizations