Closed
Bug 695693
Opened 13 years ago
Closed 3 years ago
editor is laggy in current nightlies
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: taras.mozilla, Assigned: bas.schouten)
Details
(Keywords: perf, Whiteboard: [Snappy:P3])
There is about a second lag when I type backspace in the wordpress editor on https://blog.mozilla.com/tglek/
Comment 1•13 years ago
|
||
Taras, do you have the same lag with this page? http://kazhack.org/contentEditable.xhtml I can’t reproduce this bug on my current Linux build (pulled yesterday).
Reporter | ||
Comment 2•13 years ago
|
||
Sorry for the extreme lag on this, but I finally reproduced it. This lag never happens in your editor demo. It also isn't painfully obvious in wordpress when direct2d is disabled on my machine. I even tried copying my blog post into the editor and everything stays responsive. However(with d2d on), editing a wordpress post is extremely painful. Simply moving the cursor around is laggy with d2d on. I wonder if that is because wordpress editor is hosted in a much more complex page with a big dom and we are invalidating the whole page on cursor movement :( This is related to other bugs I filed, eg 695116. Is there a way to check if we are reflowing/repainting the whole page?
Comment 3•13 years ago
|
||
Taras tells me that this also happens when moving the caret using the arrow keys. My hunches are either repainting too much of the page, or a D2D perf bug. Assigning to Bas for investigation. :-)
Assignee: nobody → bas.schouten
Component: Editor → Graphics
Keywords: perf
QA Contact: editor → thebes
Reporter | ||
Updated•13 years ago
|
Whiteboard: [Snappy]
Updated•13 years ago
|
Whiteboard: [Snappy] → [Snappy:p4]
Reporter | ||
Updated•13 years ago
|
Whiteboard: [Snappy:p4] → [Snappy:P3]
Comment 4•12 years ago
|
||
You can set the pref nglayout.debug.paint_flashing to true to see what gets repainted in your browser (it doesn't need to be a debug build, release builds work fine).
Reporter | ||
Comment 5•12 years ago
|
||
I checked with nglayout.debug.paint_flashing. Moving the caret, typing, scrolling the editor causes the whole page to repaint on my mozilla wordpress.
Comment 6•12 years ago
|
||
Where do I go to reproduce this so I can debug why we are painting too much?
Comment 7•11 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #6) > Where do I go to reproduce this so I can debug why we are painting too much? perhaps Matt can advise
Flags: needinfo?(matt.woodrow)
Comment 8•11 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #7) > (In reply to Timothy Nikkel (:tn) from comment #6) > > Where do I go to reproduce this so I can debug why we are painting too much? > > perhaps Matt can advise I was asking how to reproduce the issue, I don't think Matt has any special info about that.
Flags: needinfo?(matt.woodrow)
Assignee | ||
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•