Skip to content

Commit 6444dd7

Browse files
Clean up the readme text around PGO a bit. (GH-6538) (#6540)
(cherry picked from commit b87c1c9) Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 6f87093 commit 6444dd7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,16 @@ below.
9191
Profile Guided Optimization
9292
---------------------------
9393

94-
PGO takes advantage of recent versions of the GCC or Clang compilers. If ran,
95-
``make profile-opt`` will do several steps.
94+
PGO takes advantage of recent versions of the GCC or Clang compilers. If used,
95+
either via ``configure --enable-optimizations`` above or by manually running
96+
``make profile-opt`` regardless of configure flags it will do several steps.
9697

9798
First, the entire Python directory is cleaned of temporary files that may have
9899
resulted in a previous compilation.
99100

100101
Then, an instrumented version of the interpreter is built, using suitable
101-
compiler flags for each flavour. Note that this is just an intermediary step
102-
and the binary resulted after this step is not good for real life workloads, as
102+
compiler flags for each flavour. Note that this is just an intermediary step.
103+
The binary resulting from this step is not good for real life workloads as
103104
it has profiling instructions embedded inside.
104105

105106
After this instrumented version of the interpreter is built, the Makefile will

0 commit comments

Comments
 (0)