Skip to content

Commit 9e1bd5c

Browse files
committed
Update default in docs
1 parent a63fa93 commit 9e1bd5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/profiling.sampling.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ The default configuration works well for most use cases:
297297
* - Option
298298
- Default
299299
* - Default for ``--sampling-rate`` / ``-r``
300-
- 10 kHz
300+
- 1 kHz
301301
* - Default for ``--duration`` / ``-d``
302302
- 10 seconds
303303
* - Default for ``--all-threads`` / ``-a``
@@ -322,7 +322,7 @@ Together, these determine how many samples will be collected during a profiling
322322
session.
323323

324324
The :option:`--sampling-rate` option (:option:`-r`) sets how frequently samples
325-
are collected. The default is 10 kHz (10,000 samples per second)::
325+
are collected. The default is 1 kHz (10,000 samples per second)::
326326

327327
python -m profiling.sampling run -r 20khz script.py
328328

@@ -1257,7 +1257,7 @@ Sampling options
12571257

12581258
.. option:: -r <rate>, --sampling-rate <rate>
12591259

1260-
Sampling rate (for example, ``10000``, ``10khz``, ``10k``). Default: ``10khz``.
1260+
Sampling rate (for example, ``10000``, ``10khz``, ``10k``). Default: ``1khz``.
12611261

12621262
.. option:: -d <seconds>, --duration <seconds>
12631263

0 commit comments

Comments
 (0)