microsoft / microsoft/vscode-js-profile-visualizer

Table view drill down - caller vs callee

Open
#13 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
158
Forks
30
Avg merge
22h 29m
Merged PRs (30d)
8

Description

Looking at the table view for a typical Julia session:

image

It looks to me that if I expand say the second row, then I get a list of stack frames that are calling the function on the second line, and then if I expand further I get the callers of those lines etc.

I think that is very useful, but wouldn't it be even more useful if expand showed the functions that are being called from that function, i.e. a way to drill down and see how the time is composed across the work that is being done inside the function that I'm drilling down into?

Maybe in an ideal way one could explore in both directions from any given row?

CC @pfitzseb, @aviatesk, @vchuravy

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the table view for .cpuprofile files and trace how expanding a row currently shows caller stack frames. Define how a row should expose callee relationships, including whether users can explore both directions. Done means the drill-down behavior supports inspecting how time is composed inside a function as well as its callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.