Bug 40165

Summary: Performance slowdown in designMode when editing end of lines
Product: WebKit Reporter: jaroslav.benc
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: ap, enrica
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
example code with designmode switched on none

jaroslav.benc
Reported 2010-06-04 08:20:46 PDT
Created attachment 57879 [details] example code with designmode switched on We've got a code editor using designMode to edit files, there is a huge performance slowdown when using Chrome 5 / Chromium 5 so most of files bigger than 20KB become uneditable in the editor. Interesting thing is that it is fine when we type inside of exising line (there are words following the caret) if we type after the last character it becomes slow. There is an attachment showing a file example generated as syntax highlighted HTML with designMode switched on. Try to open it in Chrome/Chromium 5 and and start typing, there is a 1s delay when pressing keys on dual core 2.1, bigger file bigger delay. Then try to open this file in Chrome 4 / Chromium 4 / Firefox 3.6 or Safari 4 and see the difference.
Attachments
example code with designmode switched on (38.86 KB, text/html)
2010-06-04 08:20 PDT, jaroslav.benc
no flags
Alexey Proskuryakov
Comment 1 2010-06-05 00:50:22 PDT
This sounds exactly like bug 36037, so it should be fixed now. *** This bug has been marked as a duplicate of bug 36037 ***
Note You need to log in before you can comment on or make changes to this bug.