History log of /external/python/cpython2/Lib/timeit.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
59ea508bb84006b8e93ff036aa8d9f0a3fa232c7 30-May-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #5633: Fixed timeit when the statement is a string and the setup is not.
/external/python/cpython2/Lib/timeit.py
73c086389a81f81d20a9f87eb95cebd15b6ced58 25-Jan-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #18518: timeit now rejects statements which can't be compiled outside
a function or a loop (e.g. "return" or "break").
/external/python/cpython2/Lib/timeit.py
001320720090976b8a44b2aaf7c5a10ce66f40b9 26-Jan-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #11578: Backported test for the timeit module.
/external/python/cpython2/Lib/timeit.py
e0ed2d75c8bce7f0fc76c55c957052aa8a0756f2 16-Jan-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
/external/python/cpython2/Lib/timeit.py
55e5e27b748443e41617bbd27c413b6af709df62 29-Jul-2011 Raymond Hettinger <python@rcn.com> Issue 12514: Use try/finally to assure that timeit restores GC when done.
/external/python/cpython2/Lib/timeit.py
78e6957cdf091318e4b31d17008fbaa08fffa6a2 01-Aug-2010 Georg Brandl <georg@python.org> Merged revisions 83393,83396,83398,83405,83408 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r83393 | georg.brandl | 2010-08-01 10:35:29 +0200 (So, 01 Aug 2010) | 1 line

#1690103: fix initial namespace for code run with trace.main().
........
r83396 | georg.brandl | 2010-08-01 10:52:32 +0200 (So, 01 Aug 2010) | 1 line

#4810: document "--" option separator in timeit help.
........
r83398 | georg.brandl | 2010-08-01 11:06:34 +0200 (So, 01 Aug 2010) | 1 line

#8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
........
r83405 | georg.brandl | 2010-08-01 16:38:17 +0200 (So, 01 Aug 2010) | 1 line

#4943: do not try to include drive letters (and colons) when looking for a probably module name.
........
r83408 | georg.brandl | 2010-08-01 17:30:56 +0200 (So, 01 Aug 2010) | 1 line

#5551: symbolic links never can be mount points. Fixes the fix for #1713.
........
/external/python/cpython2/Lib/timeit.py
de0559998fef231efc9ecbdef5b3a195d4eaa28d 10-Oct-2009 Benjamin Peterson <benjamin@python.org> replace callable()
/external/python/cpython2/Lib/timeit.py
6ecb1a3145b6df2c532779902651a6913535581a 03-Apr-2009 Raymond Hettinger <python@rcn.com> Localize the function lookup in timeit.
/external/python/cpython2/Lib/timeit.py
0d4c06e06e5ee1f3bb1fa8068114bd700d74864a 25-Apr-2007 Neal Norwitz <nnorwitz@gmail.com> Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
/external/python/cpython2/Lib/timeit.py
d9bef35e3c0c4c1dfa5760fd76c720afa1956170 13-Mar-2007 Georg Brandl <georg@python.org> Patch #1533909: the timeit module now accepts callables in addition to
strings for the code to time and the setup code. Also added two
convenience functions for instantiating a Timer and calling its methods.
/external/python/cpython2/Lib/timeit.py
816ed1b0bdd3f50375bef334a41e5f20d58910f9 04-Jan-2004 Raymond Hettinger <python@rcn.com> SF patch #868736: Disable GC for timeit

Make timings more consistent by temporarily disabling GC.
/external/python/cpython2/Lib/timeit.py
571720811b81a4d9f7c312cf3acd5e17693a1594 21-Oct-2003 Guido van Rossum <guido@python.org> Show microseconds, milliseconds or seconds, whichever is most natural,
rather than showing weird numbers like 8.4e+03 usec.
/external/python/cpython2/Lib/timeit.py
7bdc484c97eb418dcffcdc7a4390e30818d277cb 20-Sep-2003 Martin v. Löwis <martin@v.loewis.de> Patch #808362: Fix typos.
/external/python/cpython2/Lib/timeit.py
c556722f09ea9ce7f3555196c971c36b888377fa 29-Jun-2003 Neal Norwitz <nnorwitz@gmail.com> remove unused import math
/external/python/cpython2/Lib/timeit.py
22952a3efc4813d3aecbe1a7840d6981f0a1e29d 20-May-2003 Raymond Hettinger <python@rcn.com> SF bug 735293: Command line timeit.py sets sys.path badly

Paul Moore's patch to have timeit.py check the current directory for
imports (instead of the directory for Lib/timeit.py).
/external/python/cpython2/Lib/timeit.py
cfd55501bbd2e2043638db47fd195955d9ec1d03 08-Apr-2003 Skip Montanaro <skip@pobox.com> add a #! line for unix weenies
/external/python/cpython2/Lib/timeit.py
fb2a6ccfc42cb15e15c4d2608bf096357a8a79ed 08-Apr-2003 Skip Montanaro <skip@pobox.com> correct a couple docstring nits
/external/python/cpython2/Lib/timeit.py
dd42edcc9df2603036a7d0209e51af135a003319 21-Mar-2003 Guido van Rossum <guido@python.org> Rename variables _seq to _it and seq to it, to emphasize that this is
an iterator (which can only be used once!).
/external/python/cpython2/Lib/timeit.py
0070f007f4b30a31e7f59ec798ae6f555bcb0c08 15-Mar-2003 Guido van Rossum <guido@python.org> 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.
/external/python/cpython2/Lib/timeit.py
538f1d842c3dfeff279c084d616c03113ec5dd94 14-Mar-2003 Guido van Rossum <guido@python.org> Implement some recommendations from Raymond H:

- Make all local variables in the template start with an underscore,
to prevent name conflicts with the timed code.

- Added a method to print a traceback that shows source lines from the
expanded template.

- Use that method in main().
/external/python/cpython2/Lib/timeit.py
6e31aad9834d3bbca256d34e17faae7d2ffff097 07-Mar-2003 Guido van Rossum <guido@python.org> Broke down and made it work for Python 2.0 and up. (Older versions
would have required refraining from using string methods -- too
painful.)

Changed the -s option so that multiple -s options are cumulative.
/external/python/cpython2/Lib/timeit.py
5573541b6fab4041250958675b4b440aaa4a93c0 06-Mar-2003 Guido van Rossum <guido@python.org> Add a note explaining why you shouldn't try to compute mean and
standard deviation. Also add an XXX comment wondering if we should
refrain from using itertools.repeat().
/external/python/cpython2/Lib/timeit.py
e05dcce686692d0078792a1a542d889bd2ef91f5 06-Mar-2003 Guido van Rossum <guido@python.org> Simpler way to write reindent(), suggested by Raymond H.
/external/python/cpython2/Lib/timeit.py
e8577b7298c758966e685bf068a148746608de85 06-Mar-2003 Guido van Rossum <guido@python.org> Add notes about baseline overhead, and about different Python
versions. Add -h/--help option to print doc string.
/external/python/cpython2/Lib/timeit.py
b7ab6004b18bddeca8a9a21a8ca6d701f896b704 06-Mar-2003 Guido van Rossum <guido@python.org> Added more documentation.
/external/python/cpython2/Lib/timeit.py
b3f09d4331e7d23eeb8166dda0504b56ec4e7edc 06-Mar-2003 Guido van Rossum <guido@python.org> A flexible utility to time the execution speed of a code snippet.
Usable from the command line or from a program.
/external/python/cpython2/Lib/timeit.py