microsoft / microsoft/vscode-js-profile-visualizer
Improve in-editor display
@connor4312 is already working on this.
Since Jul 1, 2020.
- Dominant language
- TypeScript
- Stars
- 158
- Forks
- 30
- Avg merge
- 22h 29m
- Merged PRs (30d)
- 8
Description
Currently, timings/number of ticks are displayed as code lenses:

Imho, this is slightly annoying because a) it moves your code around and b) it's hard to get a quick overview over which line in your code is expensive to execute.
I'd like to propose an alternative display mode that instead changes the line background color up to a width proportional to the amount of time spent on that line relative to the current frame's total time (Juno has that feature):

Ignore the drastically different results for now, I think our Julia -> .cpuprofile translation has a bug somewhere.
This is possible with the current decoration API, but might require padding the end of the line with spaces.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.