@@ -359,17 +359,17 @@ anywhere on the stack). The percentages and times derive from these counts
359359and the total profiling duration. Time units are selected automatically based
360360on the data: seconds, milliseconds, or microseconds.
361361
362- The output includes a Legend explaining each column and a Summary of
363- Interesting Functions section that highlights:
362+ The output includes a legend explaining each column and a summary of
363+ interesting functions that highlights:
364364
365- - **Hot Spots **: Functions with high direct/cumulative sample ratio (time spent
365+ - **Hot spots **: functions with high direct/cumulative sample ratio (time spent
366366 directly executing rather than waiting for callees)
367- - **Indirect Calls **: Functions appearing frequently on the stack via other
367+ - **Indirect calls **: functions appearing frequently on the stack via other
368368 callers
369- - **Call Magnification **: Functions where cumulative samples far exceed direct
369+ - **Call magnification **: functions where cumulative samples far exceed direct
370370 samples, indicating significant time in nested calls
371371
372- Use ``--no-summary `` to suppress both the Legend and Summary sections.
372+ Use ``--no-summary `` to suppress both the legend and summary sections.
373373
374374To save pstats output to a file instead of stdout::
375375
@@ -477,10 +477,10 @@ CPU activity, enabling analysis features specific to Python's threading model.
477477The profiler emits interval markers that appear as colored bands in the
478478Firefox Profiler timeline:
479479
480- - **GIL markers **: Show when threads hold or release the global interpreter lock
481- - **CPU markers **: Show when threads are executing on CPU versus idle
482- - **Code type markers **: Distinguish Python code from native (C extension) code
483- - **GC markers **: Indicate garbage collection activity
480+ - **GIL markers **: show when threads hold or release the global interpreter lock
481+ - **CPU markers **: show when threads are executing on CPU versus idle
482+ - **Code type markers **: distinguish Python code from native (C extension) code
483+ - **GC markers **: indicate garbage collection activity
484484
485485For this reason, the ``--mode `` option is not available with Gecko format;
486486all relevant data is captured automatically.
@@ -507,17 +507,17 @@ responsible for time consumption.
507507
508508The heatmap interface provides several interactive features:
509509
510- - **Coloring modes **: Toggle between "Self Time" (direct execution) and
510+ - **Coloring modes **: toggle between "Self Time" (direct execution) and
511511 "Total Time" (cumulative, including time in called functions)
512- - **Cold code filtering **: Show all lines or only lines with samples
513- - **Call graph navigation **: Each line has buttons to navigate to callers
512+ - **Cold code filtering **: show all lines or only lines with samples
513+ - **Call graph navigation **: each line has buttons to navigate to callers
514514 (functions that called this line) and callees (functions called from here)
515- - **Scroll minimap **: A vertical overview showing the heat distribution across
515+ - **Scroll minimap **: a vertical overview showing the heat distribution across
516516 the entire file
517- - **Hierarchical index **: Files organized by type (stdlib, site-packages,
517+ - **Hierarchical index **: files organized by type (stdlib, site-packages,
518518 project) with aggregate sample counts per folder
519- - **Dark/light theme **: Toggle with preference saved across sessions
520- - **Line linking **: Click line numbers to create shareable URLs
519+ - **Dark/light theme **: toggle with preference saved across sessions
520+ - **Line linking **: click line numbers to create shareable URLs
521521
522522Heatmaps are especially useful when you know which file contains a performance
523523issue but need to identify the specific lines. Many developers prefer this
0 commit comments