~ubuntu-branches/ubuntu/precise/python3.2/precise

« back to all changes in this revision

Viewing changes to Doc/library/timeit.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-02-14 16:12:14 UTC
  • mfrom: (10.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110214161214-f5vwa226kebccmt9
Tags: 3.2~rc3-1
Python 3.2 release candidate 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
   single: Benchmarking
10
10
   single: Performance
11
11
 
 
12
**Source code:** :source:`Lib/timeit.py`
 
13
 
 
14
--------------
 
15
 
12
16
This module provides a simple way to time small bits of Python code. It has both
13
17
command line as well as callable interfaces.  It avoids a number of common traps
14
18
for measuring execution times.  See also Tim Peters' introduction to the