]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Change the default number of repetitions to 3, both in the Timer class
authorGuido van Rossum <guido@python.org>
Sat, 15 Mar 2003 12:25:00 +0000 (12:25 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 15 Mar 2003 12:25:00 +0000 (12:25 +0000)
commit0070f007f4b30a31e7f59ec798ae6f555bcb0c08
treee79c153c9c595acdb9dc55f35065a1b168e259bb
parentd2b738ee7de3d2dc690476f63d12dd9eb7955abf
Change the default number of repetitions to 3, both in the Timer class
(from 10) and in main() (from 1).

Add a -v option that shows the raw times.  Repeating it cranks up the
display precision.

Always use the "best of N" form of output.
Lib/timeit.py