mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
[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:
parent
c2fb25a714
commit
8cb750df13
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue