Scalene is a high-performance CPU, GPU and memory profiler for Python that does a number of things that other Python profilers do not and cannot do. It runs orders of magnitude faster than many other ...
"""Test that default max_workers uses all available CPUs.""" executor = ProcessPoolExecutor() assert executor.config.number_of_nodes == 1 assert executor.config ...