compileall with workers would is faster with larger chunksize #117205
Labels
performance
Performance or resource usage
stdlib
Python modules in the Lib dir
type-feature
A feature request or enhancement
Feature or enhancement
Proposal:
Currently we do a map with the default chunksize=1 over files:
cpython/Lib/compileall.py
Line 109 in 3726cb0
A quick local benchmark suggests that chunksize=4 would be 20% faster
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: