Skip to content

Add tree_view for viewing Profile.print#249

Open
IanButterworth wants to merge 1 commit intomasterfrom
ib/tree_view
Open

Add tree_view for viewing Profile.print#249
IanButterworth wants to merge 1 commit intomasterfrom
ib/tree_view

Conversation

@IanButterworth
Copy link
Copy Markdown
Collaborator

@IanButterworth IanButterworth commented Jun 2, 2025

Reads in the output of Profile.print() and turns it into an expandable treeview, with cursor controls.
click expander icon or spacebar on selected row to expand/collapse, click row or return key on selected row to edit.

A probably better and less brittle implementation would be to use the same read mechanism as ProfileView.view, but this was quite easy (and fun) to build and it maintains the styling of Profile.print which is nicely consistent.

julia> ProfileView.view_tree()
Screen.Recording.2025-05-30.at.5.17.59.PM.mov

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