codecov / codecov/vscode

[vscode] Line coverage decorations cause slow, janky scrolling

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

When I enable the decorations, especially in files above 150-200 lines with lots of decorations, it's like the rendering framerate drops below 20. There could be something inefficient in the code rendering them.

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

Reproduce the slowdown in VS Code using a file over 150–200 lines with many line coverage decorations. The issue does not name a source file, test, or entry point, so first locate the decoration-rendering path and profile scrolling. Done means scrolling remains responsive with decorations enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.