firefox-devtools / profiler

Firefox Profiler — Web app for Firefox performance analysis
https://profiler.firefox.com
Mozilla Public License 2.0
1.18k stars 386 forks source link

Selecting a range over a long profile is janky #4400

Open fqueze opened 1 year ago

fqueze commented 1 year ago

Example profile: https://share.firefox.dev/3jUOys0

When I select a range over the timeline, the preview doesn't follow my mouse.

┆Issue is synchronized with this Jira Task

julienw commented 1 year ago

I think that drawing the power tracks is generally slow, and this might be the issue here.

We could try to apply one of the decimation algorithm to the power track drawing code: https://www.chartjs.org/docs/latest/configuration/decimation.html#decimation-algorithms