Closed Bug 1877997 Opened 1 year ago Closed 3 months ago

Add damp to cover some actions on large minified files. when wrapping lines is turned on.

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox139 fixed)

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The Wrap lines setting is off by default. When they are turned on very large minified file (which is usually a single long line), will cause the line to wrap vertically taking up space in the editor and overflowing vertically.

There seems some visible performance issues interacting with files like these, so I've seen

  • Loading these take some time
  • Setting a breakpoint seems to take time to show
  • Scrolling with breakpoints set on one line seems janky.

Though this is not a default setting, it can impact on users, which who want to use the feature.

Lets add damp tests to track some of these, and see possible fixes.

Adding a new test file for special or edge cases which might not be on the main workflow
(e.g cases which require toggle of a pref which is off by default )

This patch specifically adds tests for large files with the devtools.debugger.ui.editor-wrapping enabled.

  • Test how long it takes a large wrapped file to load and get displayed.
  • Test how long it takes to add a breakpoint to the file
  • Test how long it takes to scroll the file
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:bomsy, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(hmanilla)
Flags: needinfo?(afinder)

Hi Hubert, is the patch still being worked on ? I see it's accepted on Phabricator, but has not yet landed.

Flags: needinfo?(afinder)

Hi Alex,
Apologies for the slow response. The patch is still been worked on, there are some discrepancies with the results for DAMP tests that are produced, which we are currently investigating .. I'll switch the patch to "plan changes"

Flags: needinfo?(hmanilla)
Blocks: 1946026
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/57c89b4a7631 [devtools] DAMP some tests for large file with editor content wrapping turned on r=devtools-reviewers,perftest-reviewers,afinder,ochameau,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: