Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add a #! line for unix weenies | Skip Montanaro | 2003-04-08 | 1 | -0/+2 | |
| | ||||||
* | correct a couple docstring nits | Skip Montanaro | 2003-04-08 | 1 | -3/+3 | |
| | ||||||
* | Rename variables _seq to _it and seq to it, to emphasize that this is | Guido van Rossum | 2003-03-21 | 1 | -5/+5 | |
| | | | | an iterator (which can only be used once!). | |||||
* | Change the default number of repetitions to 3, both in the Timer class | Guido van Rossum | 2003-03-15 | 1 | -12/+21 | |
| | | | | | | | | | (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. | |||||
* | Implement some recommendations from Raymond H: | Guido van Rossum | 2003-03-14 | 1 | -10/+48 | |
| | | | | | | | | | | - 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(). | |||||
* | Broke down and made it work for Python 2.0 and up. (Older versions | Guido van Rossum | 2003-03-07 | 1 | -24/+25 | |
| | | | | | | | would have required refraining from using string methods -- too painful.) Changed the -s option so that multiple -s options are cumulative. | |||||
* | Add a note explaining why you shouldn't try to compute mean and | Guido van Rossum | 2003-03-06 | 1 | -0/+14 | |
| | | | | | standard deviation. Also add an XXX comment wondering if we should refrain from using itertools.repeat(). | |||||
* | Simpler way to write reindent(), suggested by Raymond H. | Guido van Rossum | 2003-03-06 | 1 | -1/+1 | |
| | ||||||
* | Add notes about baseline overhead, and about different Python | Guido van Rossum | 2003-03-06 | 1 | -6/+22 | |
| | | | | versions. Add -h/--help option to print doc string. | |||||
* | Added more documentation. | Guido van Rossum | 2003-03-06 | 1 | -9/+73 | |
| | ||||||
* | A flexible utility to time the execution speed of a code snippet. | Guido van Rossum | 2003-03-05 | 1 | -0/+123 | |
Usable from the command line or from a program. |