https://bugzilla.wikimedia.org/show_bug.cgi?id=52012
Web browser: ---
Bug ID: 52012
Summary: Typing plain text into a large page is very slow
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Data Model
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
On [[Argentina]] on Firefox on my laptop, typing plain text takes about 380ms
per character, assuming I am interpreting the profiling correctly, meaning you
can type faster than it can update.
This is predominantly because ve.dm.Surface.prototype.change() calls
truncateUndoStack(), which unconditionally sends the "history" event despite
there normally being no changes to the redo buffer. The history event causes
ResizableNode and RelocatableNode instances to perform several jQuery.css()
calls, which apparently are very slow.
I confirmed that disabling truncateUndoStack() using the JS console causes
typing to become much faster.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l