Commit eb6f2b74 by Feanil Patel

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

parent 1e7d6753
......@@ -94,7 +94,7 @@ class CallbackModule(object):
)
# Log the time of each task
for name, elapsed in results:
for name, elapsed in results[:10]:
logger.info(
"{0:-<80}{1:->8}".format(
'{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