FileChecker.run_check: Delete an extremely expensive LOG.debug call

This single statement accounts for about 11% of flake8’s running time
when debugging is *disabled*.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2020-05-13 00:37:38 -07:00
parent f94e0095fd
commit 2529983e5c

View file

@ -424,7 +424,6 @@ class FileChecker(object):
def run_check(self, plugin, **arguments):
"""Run the check in a single plugin."""
LOG.debug("Running %r with %r", plugin, arguments)
try:
self.processor.keyword_arguments_for(
plugin["parameters"], arguments