Summary
The current workflow converts perf_swimlane_.json into Perfetto-compatible merged_swimlane_.json via Python scripts, then requires users to download files and open them manually in the Perfetto web UI for inspection.
This flow is cumbersome and not IDE-native. In addition, dependency edge rendering in Perfetto is tightly constrained by task start/end timestamps, so forcing edge direction does not reliably produce the intended visualization.
This issue proposes adding native swimlane preview support for new PyPTO traces directly in the PyPTO-Toolkit VSCode extension, so users can inspect traces in-IDE without relying on the external Perfetto web workflow.
Motivation / Use Case
Simplify developer workflow: preview swimlane traces directly in VSCode, removing manual export/download/open steps.
Improve productivity: reduce context switching between repo, local files, and browser Perfetto UI.
Provide PyPTO-specific visualization semantics: handle dependency direction and task relationships with rendering logic tailored to PyPTO data, not limited by Perfetto’s timestamp-driven edge behavior.
Lower adoption barrier: make swimlane analysis easier for daily debugging, performance tuning, and CI artifact inspection.
Proposed API / Behavior
No response
Alternatives Considered
No response
Additional Context
No response
Summary
The current workflow converts perf_swimlane_.json into Perfetto-compatible merged_swimlane_.json via Python scripts, then requires users to download files and open them manually in the Perfetto web UI for inspection.
This flow is cumbersome and not IDE-native. In addition, dependency edge rendering in Perfetto is tightly constrained by task start/end timestamps, so forcing edge direction does not reliably produce the intended visualization.
This issue proposes adding native swimlane preview support for new PyPTO traces directly in the PyPTO-Toolkit VSCode extension, so users can inspect traces in-IDE without relying on the external Perfetto web workflow.
Motivation / Use Case
Simplify developer workflow: preview swimlane traces directly in VSCode, removing manual export/download/open steps.
Improve productivity: reduce context switching between repo, local files, and browser Perfetto UI.
Provide PyPTO-specific visualization semantics: handle dependency direction and task relationships with rendering logic tailored to PyPTO data, not limited by Perfetto’s timestamp-driven edge behavior.
Lower adoption barrier: make swimlane analysis easier for daily debugging, performance tuning, and CI artifact inspection.
Proposed API / Behavior
No response
Alternatives Considered
No response
Additional Context
No response