mirror of
https://github.com/python/cpython.git
synced 2024-11-27 03:45:08 +08:00
a46e960768
Replace os.cpu_count() with os.process_cpu_count() in modules: * compileall * concurrent.futures * multiprocessing Replace os.cpu_count() with os.process_cpu_count() in programs: * _decimal deccheck.py test * freeze.py * multissltests.py * python -m test (regrtest) * wasm_build.py Other changes: * test.pythoninfo logs os.process_cpu_count(). * regrtest gets os.process_cpu_count() / os.cpu_count() in headers. |
||
---|---|---|
.. | ||
bench.py | ||
bignum.py | ||
deccheck.py | ||
formathelper.py | ||
randdec.py | ||
randfloat.py | ||
README.txt | ||
runall-memorydebugger.sh | ||
runall.bat |
This directory contains extended tests and a benchmark against decimal.py: bench.py -> Benchmark for small and large precisions. Usage: ../../../python bench.py formathelper.py -> randdec.py -> Generate test cases for deccheck.py. randfloat.py -> deccheck.py -> Run extended tests. Usage: ../../../python deccheck.py [--short|--medium|--long|--all]