Skip to content

feat: execution trace gantt chart #2114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

viktorasm
Copy link

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 viktorasm marked this pull request as draft March 11, 2025 14:10
@viktorasm viktorasm marked this pull request as ready for review March 11, 2025 14:43
@viktorasm viktorasm changed the title feature: execution trace gantt chart feat: execution trace gantt chart Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant