mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
b3d2427f22
Open and close files manually. It prevents from leaking files, preliminary creation of output files, and accidental closing of stdin and stdout. |
||
---|---|---|
.. | ||
importbench.py | ||
README |
Importbench is a set of micro-benchmarks for various import scenarios. It should not be used as an overall benchmark of import performance, but rather an easy way to measure impact of possible code changes. For a real-world benchmark of import, use the normal_startup benchmark from https://github.com/python/performance