Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update CLI documentation
  • Loading branch information
vstinner committed Jun 6, 2018
commit 8892dbe3d5782d27f9a3db67708977769ae0fd18
4 changes: 2 additions & 2 deletions Doc/library/timeit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Where the following options are understood:

.. cmdoption:: -r N, --repeat=N

how many times to repeat the timer (default 3)
how many times to repeat the timer (default 5)

.. cmdoption:: -s S, --setup=S

Expand Down Expand Up @@ -252,7 +252,7 @@ successive powers of 10 until the total time is at least 0.2 seconds.
:func:`default_timer` measurements can be affected by other programs running on
the same machine, so the best thing to do when accurate timing is necessary is
to repeat the timing a few times and use the best time. The :option:`-r`
option is good for this; the default of 3 repetitions is probably enough in
option is good for this; the default of 5 repetitions is probably enough in
most cases. You can use :func:`time.process_time` to measure CPU time.

.. note::
Expand Down