microsoft / microsoft/vscode-js-profile-visualizer

Improve in-editor display

Open
#10 4 comments 23 reactions 1 assignee View on GitHub

@connor4312 is already working on this.

Since Jul 1, 2020.

enhancement
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:
image

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):
image

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

  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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.