microsoft / microsoft/vscode-js-profile-visualizer

Can (anonymous) get any more context?

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I often need to go to it to figure out what it is. It's a problem in devtools too.

image

This just tells me what file some function is in, since we also own JS/TS and we know where the file goes, could we for example say something like this:

  • (anonymous) requestAnimationFrame
  • () => void requestAnimationFrame

Where requestAnimationFrame is the function the callback is passed into?

Or allow some way to peek at the line?

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

No file or test is named. Start by reproducing the anonymous-function display in the custom editor for a .cpuprofile file, then trace how profile locations and labels are rendered; the work is done when the relevant callback context or a way to peek at its source line is shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.