Skip to content

Add highlighting and colour to the visualisation graph of executors. #143613

@markshannon

Description

@markshannon

sys.dump_executors() sys._dump_tracelets() dumps out a diagram of the current executors in graphviz format.
It is a bit hard to understand what's going on as it doesn't show cold exits, how well executed the latter parts of traces are, or where it exits to tier1.

With a bit of highlighting and colour, the diagram could be much easier to understand.

I propose adding:

  • Edges for jump-to-top
  • Markers to show exits that haven't warmed up
  • Shading to show parts of traces that are relatively cold
  • Warning markers for _DEOPT and other poorly performing uops.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.15new features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetopic-JITtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions