fun TaskExecutionGraph.logTaskDuration(): Unit
Add logging of the task duration right after each task finishes.