New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable parallel write #317
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a changelog entry for this?
Sphinx docs say:
If it defaults to true, then this shouldn't have any effect. Is that incorrect? |
From my observation it does not, otherwise I could not explain why the build time decreases to 50%. This was taken with Sphinx 5.3 |
Well the change is either harmless or useful so it isn't a big deal to merge it. But the code for v5.3.0 also seems to show that this defaults True:
https://github.com/sphinx-doc/sphinx/blob/v5.3.0/sphinx/extension.py#L33 used here: |
for more information, see https://pre-commit.ci
in #9 parallel reading was enabled. Now lets do the same for writing. I've tested this with my (large) project locally. The output looks sane and the total build time was cut in half.