summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--sphinx/util/docutils.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index d3484f78c..9547c8320 100644
--- a/CHANGES
+++ b/CHANGES
@@ -170,6 +170,8 @@ Features added
Bugs fixed
----------
+* #7343: Sphinx builds has been slower since 2.4.0 on debug mode
+
Testing
--------
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py
index dc2dbfc0d..7069189e3 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -461,8 +461,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'visit_%s' % (node_class.__name__), None)
if method:
- logger.debug('SphinxTranslator.dispatch_visit calling %s for %s',
- method.__name__, node)
method(node)
break
else:
@@ -480,8 +478,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'depart_%s' % (node_class.__name__), None)
if method:
- logger.debug('SphinxTranslator.dispatch_departure calling %s for %s',
- method.__name__, node)
method(node)
break
else: