47 Commits (fc632e3912ba9bb6ec20359148f05ca3ec231663)

Author SHA1 Message Date
Robert Collins 69de2a576c Issue #23552: Timeit now warns when there is substantial (4x) variance 11 years ago
Serhiy Storchaka ced770da07 Issue #24631: Fixed regression in the timeit modulu with multyline setup. 11 years ago
Serhiy Storchaka f28fa66351 Issue #5633: Fixed timeit when the statement is a string and the setup is not. 11 years ago
Andrew Kuchling 333518e01d #15183: clarify timeit documentation to say that setup statement isn't timed 11 years ago
Robert Collins 302dbc6792 Issue #18983: Allow selection of output units in timeit. 11 years ago
Serhiy Storchaka 2bef58577f Issue #18518: timeit now rejects statements which can't be compiled outside 11 years ago
Antoine Pitrou ef3b9ed0ac Issue #2527: Add a *globals* argument to timeit functions, in order to override the globals namespace in which the timed code is executed. 12 years ago
Serhiy Storchaka b992a0e102 Issue #19936: Added executable bits or shebang lines to Python scripts which 12 years ago
Terry Jan Reedy d49af5dc2e Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__. 13 years ago
Georg Brandl c9d77b2455 Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 14 years ago
Victor Stinner fe98e2fc83 Issue #14428: Use the new time.perf_counter() and time.process_time() functions 14 years ago
Florent Xicluna 5d1155c08e Closes #13258: Use callable() built-in in the standard library. 14 years ago
Raymond Hettinger 3a081f526d Issue 12514: Use try/finally to assure that timeit restores GC when done. 15 years ago
Raymond Hettinger 55e5e27b74 Issue 12514: Use try/finally to assure that timeit restores GC when done. 15 years ago
Raymond Hettinger c800af41c9 Update timeit to use the new string formatting syntax. 15 years ago
R David Murray a88da67bcb #11578: add unit tests for timeit module. 15 years ago
Georg Brandl d9ede202ea Merged revisions 83421,83424 via svnmerge from 16 years ago
Georg Brandl cea7e55998 Merged revisions 83393,83396,83398,83404-83405,83408 via svnmerge from 16 years ago
Georg Brandl 78e6957cdf Merged revisions 83393,83396,83398,83405,83408 via svnmerge from 16 years ago
Georg Brandl 794f5b3559 #4810: document "--" option separator in timeit help. 16 years ago
Benjamin Peterson 90f5ba538b convert shebang lines: python -> python3 16 years ago
Benjamin Peterson de0559998f replace callable() 16 years ago
Raymond Hettinger d7b009e991 Localize the function lookup in timeit. 17 years ago
Raymond Hettinger b646aa1789 Localize the function lookup in timeit. 17 years ago
Raymond Hettinger 6ecb1a3145 Localize the function lookup in timeit. 17 years ago
Guido van Rossum 3172c5d263 Patch# 1258 by Christian Heimes: kill basestring. 18 years ago
Guido van Rossum d59da4b432 Merged revisions 55407-55513 via svnmerge from 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Neal Norwitz 0d4c06e06e Whitespace normalization. Ugh, we really need to do this more often. 19 years ago
Georg Brandl d9bef35e3c Patch #1533909: the timeit module now accepts callables in addition to 19 years ago
Guido van Rossum be19ed77dd Fix most trivially-findable print statements. 19 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 19 years ago
Georg Brandl 7cae87ca7b Patch #1550800: make exec a function. 20 years ago
Raymond Hettinger 816ed1b0bd SF patch #868736: Disable GC for timeit 22 years ago
Guido van Rossum 571720811b Show microseconds, milliseconds or seconds, whichever is most natural, 23 years ago
Martin v. Löwis 7bdc484c97 Patch #808362: Fix typos. 23 years ago
Neal Norwitz c556722f09 remove unused import math 23 years ago
Raymond Hettinger 22952a3efc SF bug 735293: Command line timeit.py sets sys.path badly 23 years ago
Skip Montanaro cfd55501bb add a #! line for unix weenies 23 years ago
Skip Montanaro fb2a6ccfc4 correct a couple docstring nits 23 years ago
Guido van Rossum dd42edcc9d Rename variables _seq to _it and seq to it, to emphasize that this is 23 years ago
Guido van Rossum 0070f007f4 Change the default number of repetitions to 3, both in the Timer class 23 years ago
Guido van Rossum 538f1d842c Implement some recommendations from Raymond H: 23 years ago
Guido van Rossum 6e31aad983 Broke down and made it work for Python 2.0 and up. (Older versions 23 years ago
Guido van Rossum 5573541b6f Add a note explaining why you shouldn't try to compute mean and 23 years ago
Guido van Rossum e05dcce686 Simpler way to write reindent(), suggested by Raymond H. 23 years ago
Guido van Rossum e8577b7298 Add notes about baseline overhead, and about different Python 23 years ago
Guido van Rossum b7ab6004b1 Added more documentation. 23 years ago
Guido van Rossum b3f09d4331 A flexible utility to time the execution speed of a code snippet. 23 years ago