Skip to content

Commit 151e280

Browse files
committed
Wording
1 parent e3ed03c commit 151e280

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Doc/library/profiling-tracing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Limitations
299299

300300
Deterministic profiling has inherent limitations related to timing accuracy.
301301

302-
The underlying timer typically has a resolution of about 1 millisecond.
302+
The underlying timer typically has a resolution of about one millisecond.
303303
Measurements cannot be more accurate than this resolution. With enough
304304
measurements, timing errors tend to average out, but individual measurements
305305
may be imprecise.

Doc/library/profiling.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ profiling methodology:
3838
:mod:`profiling.sampling`
3939
A statistical profiler that periodically samples the call stack. Run scripts
4040
directly or attach to running processes by PID. Provides multiple output
41-
formats (flamegraphs, heatmaps, Firefox Profiler), GIL analysis, GC tracking,
41+
formats (flame graphs, heatmaps, Firefox Profiler), GIL analysis, GC tracking,
4242
and multiple profiling modes (wall-clock, CPU, GIL) with virtually no overhead.
4343

4444
:mod:`profiling.tracing`
@@ -176,7 +176,7 @@ Deterministic profiling
176176

177177
To profile a script from the command line::
178178

179-
python -m profiling.tracing myscript.py
179+
python -m profiling.tracing script.py
180180

181181
To profile a piece of code programmatically:
182182

@@ -221,7 +221,7 @@ Key profiling concepts:
221221
Calls that are not induced by recursion. When a function recurses, the total
222222
call count includes recursive invocations, but primitive calls counts only
223223
the initial entry. Displayed as ``total/primitive`` (for example, ``3/1``
224-
means 3 total calls, 1 primitive).
224+
means three total calls, one primitive).
225225

226226
**Caller/Callee relationships**
227227
Which functions called a given function (callers) and which functions it

0 commit comments

Comments
 (0)