firefox-devtools / firefox-devtools/profiler

Stack chart hovering shouldn't redraw the entire screen

Open
#902 0 comments 0 reactions 0 assignees View on GitHub
perf stack chart
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

We only need to draw 2 boxes when moving and changing the highlighted stack item, the previously highlighted one, and the next highlighted one. We shouldn't redraw the entire chart in such a case. This will help things feel snappier, especially since we're already doing a decent amount of work with rendering the tooltip.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-728)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.