summaryrefslogtreecommitdiffstats
path: root/Doc/library/timeit.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-27 01:20:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-27 01:20:32 (GMT)
commita199368b230026fa37987852fe8802992a126ab7 (patch)
tree270276511cbcdb1a582bdccda0a47ec27edad5ee /Doc/library/timeit.rst
parent8b5eb2f813b8e22e97308c18a61f1824f962604c (diff)
downloadcpython-a199368b230026fa37987852fe8802992a126ab7.zip
cpython-a199368b230026fa37987852fe8802992a126ab7.tar.gz
cpython-a199368b230026fa37987852fe8802992a126ab7.tar.bz2
More source links.
Diffstat (limited to 'Doc/library/timeit.rst')
-rw-r--r--Doc/library/timeit.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/timeit.rst b/Doc/library/timeit.rst
index 4a0b9c2..a03e40e 100644
--- a/Doc/library/timeit.rst
+++ b/Doc/library/timeit.rst
@@ -9,6 +9,10 @@
single: Benchmarking
single: Performance
+**Source code:** :source:`Lib/timeit.py`
+
+--------------
+
This module provides a simple way to time small bits of Python code. It has both
command line as well as callable interfaces. It avoids a number of common traps
for measuring execution times. See also Tim Peters' introduction to the