Skip to content

[Feature] Add native swimlane preview in PyPTO-Toolkit VSCode extension for new PyPTO traces #512

@indigo1973

Description

@indigo1973

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions