summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/benchmark.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15168: Move importlb.test to test.test_importlib.Brett Cannon2012-07-201-252/+0
| | | | | This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.
* Issue #13959: Deprecate imp.get_suffixes() for new attributes onBrett Cannon2012-05-111-4/+3
| | | | | | | | | | | importlib.machinery that provide the suffix details for import. The attributes were not put on imp so as to compartmentalize everything importlib needs for setting up imports in importlib.machinery. This also led to an indirect deprecation of inspect.getmoduleinfo() as it directly returned imp.get_suffix's returned tuple which no longer makes sense.
* Issue #14764: Update importlib.test.benchmark to work in a world whereBrett Cannon2012-05-111-0/+14
| | | | import machinery is no longer implicit.
* Make the benchmark recording more sensible for importlib.test.benchmark.Brett Cannon2012-02-241-29/+27
|
* Re-order importlib benchmarks to be consistent. Also print out what ↵Brett Cannon2012-02-071-6/+8
| | | | implementation of __import__ is used.
* Have importlib.test.benchmark test with tabnanny as a medium-sized test.Brett Cannon2012-02-071-32/+58
|
* Fix a minor output typo as found by Terry Reedy.Brett Cannon2012-01-311-1/+1
|
* Let importlib.test.benchmark take a specific benchmark name to run.Brett Cannon2012-01-311-3/+18
|
* Allow for the specification of a file to dump importlib benchmarkBrett Cannon2012-01-311-10/+36
| | | | | | results to (and to compare against previous runs). * * * Move importlib.test.benchmark to argparse.
* 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