[Webkit-unassigned] [Bug 94733] New: 2400% performance regression when performing innerHTML in contentEditable/designMode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 22 11:24:00 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94733
Summary: 2400% performance regression when performing innerHTML
in contentEditable/designMode
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: InChromiumBugs, NeedsRadar, NeedsReduction
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: ojan at chromium.org, arv at chromium.org, enrica at apple.com,
haraken at chromium.org
>From http://code.google.com/p/chromium/issues/detail?id=139552
Open attached example (http://code.google.com/p/chromium/issues/attachmentText?id=139552&aid=1395520000000&name=test.html&token=_zfslVPKMGj56AZt5m4QuCjHpJ0%3A1345659739164) and press "Highlight" button 2x
It takes around 791ms on my machine (i7 2.8) where in Chrome 15 it only takes 30ms.
Now press the "Collapse selection before syntax highlight" which calls: window.getSelection().collapse() before it assigns new innerHTML. When selection is collapsed I get around 30ms. Chrome 15 is around 30-40ms in both cases (slightly better when not checked)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list