diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-09-03 20:45:21 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-09-03 20:45:21 (GMT) |
commit | 23cf5743aef2b8c2baa023ec3f7493c7e139027a (patch) | |
tree | 67ffe3ee5cd280302c58e3e895c3f22dff9aeb28 /Lib/pydoc.py | |
parent | f31f7bb1a7d217f5cb30643b34d09c6dd0719f32 (diff) | |
download | cpython-23cf5743aef2b8c2baa023ec3f7493c7e139027a.zip cpython-23cf5743aef2b8c2baa023ec3f7493c7e139027a.tar.gz cpython-23cf5743aef2b8c2baa023ec3f7493c7e139027a.tar.bz2 |
Rework importlib benchmarks so that they measure number of executions within a
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__.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions