task icon indicating copy to clipboard operation
task copied to clipboard

feat: execution trace gantt chart

Open viktorasm opened this issue 9 months ago • 0 comments

When debugging highly parallelized task executions, it's not immediately obvious where the bottlenecks are.

This PR allows dumping timings of the execution as Gantt chart (Mermaid syntax). Here's a sample of of a real-word invocation:

image

Having this makes it so much easier to understand, how well things parallelize, are tasks unnecessarily blocked, what are the major bottlenecks, etc.

Usage:

  • if user provides --execution-trace-output flag, then task invocation writes contents of the gantt chart to it.

viktorasm avatar Mar 11 '25 14:03 viktorasm