Commit 3d3a26e3 by Feanil Patel Committed by Ned Batchelder

Print only the 10 slowest tasks instead of all of them.

parent 7563184d
...@@ -95,7 +95,7 @@ class CallbackModule(object): ...@@ -95,7 +95,7 @@ class CallbackModule(object):
) )
# Log the time of each task # Log the time of each task
for name, elapsed in results: for name, elapsed in results[:10]:
logger.info( logger.info(
"{0:-<80}{1:->8}".format( "{0:-<80}{1:->8}".format(
'{0} '.format(name), '{0} '.format(name),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment