Closed Bug 1246306 Opened 10 years ago Closed 9 years ago

Codemirror in debugger very janky

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1243554

People

(Reporter: jsantell, Unassigned)

References

Details

Attachments

(2 files)

Attached image worker-debug-jank.gif
When scrolling through the codemirror worker debugger, I'm getting a lot of jank. Attached is a gif of the jank -- looks like the browser toolbox isn't picking this up, not sure how this window is related to that, so couldn't figure out if it was reflow or GC or what. The chopiness in the gif is mostly from jank (although framerate of gif is still 10fps or so)
(In reply to Jordan Santell [:jsantell] [@jsantell] (Please needinfo) from comment #0) > When scrolling through the codemirror worker debugger, I'm getting a lot of > jank. Attached is a gif of the jank -- looks like the browser toolbox isn't > picking this up, not sure how this window is related to that, so couldn't > figure out if it was reflow or GC or what. Can you use the frame-picker dropdown feature in the browser toolbox to select the worker debugger toolbox?
Attached file worker-debug-jank.json
I think I got the right debugger.xul window (based off of the inspector picker), and I captured framerate drops, but no markers or frames that give any indication that something's up.
Do you see the same scrolling jank in the regular page debugger? Does about:support say APZ is enabled? If yes, then could be same as bug 1239615.
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #3) > Do you see the same scrolling jank in the regular page debugger? Does > about:support say APZ is enabled? You should also confirm that it *only* happens with APZ on by disabling "layers.async-pan-zoom.enabled", restarting Firefox, and repeating your test. If that fixes the issue, then that is likely the right bug for you.
It happens regardless of APZ settings after trying it on and off. It looks it also is in the normal debugger when scrolling fast, so not worker debugger specific.
Summary: Worker debugger very janky → Codemirror in debugger very janky
(In reply to Jordan Santell [:jsantell] [@jsantell] (Please needinfo) from comment #5) > It happens regardless of APZ settings after trying it on and off. It looks > it also is in the normal debugger when scrolling fast, so not worker > debugger specific. Okay, in that case, what about bug 1243554? It claims issues with both APZ on and off.
That looks like it might be it. Scrolling with the scrollbars doesn't seem to incur the same amount of jank compared to the trackpad. Thanks for the help in diagnosing -- feel free to close, but might be good to track in debugger too so others can see to not duplicate more bugs
No longer blocks: dbg-worker
Bug 1243554 has since been fixed. Jordan, did this resolve the issue, or should I leave the bug open for now?
Priority: -- → P2
Looks good to me! Thanks all!
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jsantell)
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: