commit | 23cf5743aef2b8c2baa023ec3f7493c7e139027a | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Thu Sep 03 20:45:21 2009 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Thu Sep 03 20:45:21 2009 +0000 |
tree | 67ffe3ee5cd280302c58e3e895c3f22dff9aeb28 | |
parent | f31f7bb1a7d217f5cb30643b34d09c6dd0719f32 [diff] |
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__.