Closed Bug 1946026 Opened 1 year ago Closed 1 year ago

CM6 performance issue when setting breakpoint on bundle

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox139 fixed)

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: jdescottes, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

STRs:

AR: Setting the breakpoint will be slow, be will succeed after a few seconds. However trying to scroll in the editor (with line wrapping enabled) made my browser hang for minutes, I had to kill the process.

Compared to CM5, it seems we used to limit the buffer of text which would be using syntax highlighting, whereas now we apply it everywhere. On top of this we render column breakpoints in the whole text, whereas in CM5 it seems we stop rendering them quite quickly for those very long lines

https://share.firefox.dev/3EsKmdt

Bomsy will take a look

Severity: -- → S3
Flags: needinfo?(hmanilla)
Priority: -- → P2
Depends on: 1877997
Flags: needinfo?(hmanilla)
Attachment #9477240 - Attachment description: WIP: Bug 1946026 - [devtools] Optimize rendering column breakpoints → WIP: Bug 1946026 - [devtools] Optimize the column rendering of the breakpoints
Assignee: nobody → hmanilla
Attachment #9477240 - Attachment description: WIP: Bug 1946026 - [devtools] Optimize the column rendering of the breakpoints → Bug 1946026 - [devtools] Optimize the column rendering of the breakpoints r=#devtools
Status: NEW → ASSIGNED
Attachment #9477470 - Attachment description: WIP: Bug 1946026 - [devtools] Limit the displayed breakpoint markers for minified sources → Bug 1946026 - [devtools] Limit the displayed breakpoint markers for minified sources r=#devtools
Attachment #9477470 - Attachment description: Bug 1946026 - [devtools] Limit the displayed breakpoint markers for minified sources r=#devtools → Bug 1946026 - [devtools] Fix to get the correct viewport dimensions r=#devtools
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d9378cd62358 [devtools] Optimize the column rendering of the breakpoints r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Blocks: 1962500

Comment on attachment 9477470 [details]
Bug 1946026 - [devtools] Fix to get the correct viewport dimensions r=#devtools

Revision D244594 was moved to bug 1962500. Setting attachment 9477470 [details] to obsolete.

Attachment #9477470 - Attachment is obsolete: true
QA Whiteboard: [qa-triage-done-c140/b139]
Regressions: 1964421
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: