summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/benchmark.py
Commit message (Collapse)AuthorAgeFilesLines
* Add importlib benchmarks which try to be "realistic" by importing the decimalBrett Cannon2010-07-221-7/+50
| | | | module which is the largest module in the stdlib.
* Add comma grouping to max result so it's easier to read.Brett Cannon2010-07-161-1/+1
|
* Add benchmarks for importing just source w/o writing bytecode, importing sourceBrett Cannon2010-07-161-14/+57
| | | | | while writing bytecode, and importing bytecode with source existing (don't care about sourceless imports).
* Touch up comments and code along with outputting what the unit of measure is.Brett Cannon2010-07-151-7/+10
|
* Rework importlib benchmarks so that they measure number of executions within aBrett Cannon2009-09-031-51/+52
| | | | | | | | second instead of some fixed number. Keeps benchmark faster by putting a cap on total execution time. Before a run using importlib took longer by some factor, but now it takes roughly the same amount of time as using the built-in __import__.
* Add simple tests for __import__ for future optimizations to importlib.Brett Cannon2009-03-301-0/+82