Open
Bug 1877574
Opened 2 years ago
Updated 6 months ago
Scrolling large minified source files with column breakpoint markers is very janky
Categories
(DevTools :: Debugger, task, P3)
DevTools
Debugger
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: bomsy, Assigned: bomsy)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Alot of jank while scrolling a large minified file with a few column breakpoints .
Steps to reproduce
- Go to https://todomvc.com/examples/react/dist/
- Open the debugger
- Make sure the "Wrap Lines" setting is turned on
- Select
app.bundle.jsfrom the source tree - Set a breakpoint on line 2 which should cause markers for column breakpoint to appear
- Try to scroll the document until the bottom
Expected result
It should scroll smoothly
Actual result
There is a lot of jankyness while scrolling
Did a profile https://share.firefox.dev/48cclaF
| Assignee | ||
Updated•2 years ago
|
Summary: Scrolling large minified source file with column breakpoints is not smooth → Scrolling large minified source files with column breakpoint markers is very janky
| Assignee | ||
Comment 1•2 years ago
|
||
Profile BEFORE the fix https://share.firefox.dev/48cclaF
Profile AFTER the fix https://share.firefox.dev/3SFfY40
Updated•2 years ago
|
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 year ago
•
|
||
Also small note to confirm after this fix, from review https://phabricator.services.mozilla.com/D207408#7185455
#positionContentMarkersExtension is called twice. Here are the 2 different traces:
first trace:
#positionContentMarkersExtension (resource://devtools/client/shared/sourceeditor/editor.js#867)
setPositionContentMarker (resource://devtools/client/shared/sourceeditor/editor.js#934)
componentDidUpdate (resource://devtools/client/debugger/src/components/Editor/ColumnBreakpoints.js#118)
[React/Redux]
addBreakpoint (resource://devtools/client/debugger/src/actions/breakpoints/modify.js#141)
second trace:
#positionContentMarkersExtension (resource://devtools/client/shared/sourceeditor/editor.js#867)
setPositionContentMarker (resource://devtools/client/shared/sourceeditor/editor.js#934)
componentDidUpdate (resource://devtools/client/debugger/src/components/Editor/ColumnBreakpoints.js#118)
[React/Redux]
Editor (resource://devtools/client/debugger/src/components/Editor/index.js#127)
extensions (resource://devtools/client/shared/sourceeditor/editor.js#679)
measure (resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs#1)
measureScheduled (resource://devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.mjs#1)
In this second trace, the update seems to be triggered by this.#updateListener(v).
Updated•6 months ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•