Skip to content
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

Fix #4230: slowdown in writing document with sphinx 1.6 #4523

Merged
merged 1 commit into from
Jan 30, 2018

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented Jan 30, 2018

docutils.utils.new_document() is much slower than an instantiation
of document node. This adds a much faster alternative of the function
which uses caches internally.

refs: #4230

@tk0miya tk0miya added this to the 1.7 milestone Jan 30, 2018
@tk0miya tk0miya force-pushed the 4230_tuning_sphinx branch from c2cfcc4 to f815b67 Compare January 30, 2018 12:31
``docutils.utils.new_document()`` is much slower than an instantiation
of document node.  This adds a much faster alternative of the function
which uses caches internally.
@tk0miya tk0miya force-pushed the 4230_tuning_sphinx branch from f815b67 to c9f511a Compare January 30, 2018 12:34
@tk0miya tk0miya mentioned this pull request Jan 30, 2018
@tk0miya tk0miya merged commit 85457e8 into sphinx-doc:1.7-release Jan 30, 2018
@tk0miya tk0miya deleted the 4230_tuning_sphinx branch January 30, 2018 13:52
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant