http://bugs.winehq.org/show_bug.cgi?id=30593
Bug #: 30593 Summary: Riched slow at appending text Product: Wine Version: 1.5.2 Platform: x86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Wine on Linux takes about 3 times as long as Windows to run the attached test app, which just appends 5000 short lines to a richedit window.
Unlike bug 13355, native riched20 does not work around this problem.
http://bugs.winehq.org/show_bug.cgi?id=30593
--- Comment #1 from Dan Kegel dank@kegel.com 2012-05-04 12:08:48 CDT --- Created attachment 40029 --> http://bugs.winehq.org/attachment.cgi?id=40029 Tine c program that just appends 5000 lines to a richedit window
http://bugs.winehq.org/show_bug.cgi?id=30593
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40029|Tine c program that just |Tiny c program that just description|appends 5000 lines to a |appends 5000 lines to a |richedit window |richedit window
http://bugs.winehq.org/show_bug.cgi?id=30593
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase
http://bugs.winehq.org/show_bug.cgi?id=30593
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40029|0 |1 is obsolete| |
--- Comment #2 from Dan Kegel dank@kegel.com 2012-05-05 17:39:24 CDT --- Created attachment 40051 --> http://bugs.winehq.org/attachment.cgi?id=40051 display different text on each line
http://bugs.winehq.org/show_bug.cgi?id=30593
--- Comment #3 from Dan Kegel dank@kegel.com 2012-05-05 17:41:13 CDT --- Created attachment 40052 --> http://bugs.winehq.org/attachment.cgi?id=40052 Same test app, using plain old multiline edit control instead of richedit
The same test done with a plain old multiline edit control is only 10% faster than richedit.
http://bugs.winehq.org/show_bug.cgi?id=30593
--- Comment #4 from Dan Kegel dank@kegel.com 2012-05-05 19:22:35 CDT --- Looking around for a workaround that app vendors could use, I hit on the idea of using WM_SETREDRAW to disable redraws during big richedit changes. With native riched20, this can speed things up quite a bit. Builtin riched20 doesn't seem to support it yet (it hangs). I should file a separate bug for that.
http://bugs.winehq.org/show_bug.cgi?id=30593
--- Comment #5 from Dan Kegel dank@kegel.com 2012-05-06 12:55:00 CDT --- Fun fact: ME_InvalidateMarkedParagraphs calls InvalidateRect about a bazillion times.
http://bugs.winehq.org/show_bug.cgi?id=30593
--- Comment #6 from Dan Kegel dank@kegel.com 2012-05-06 21:08:32 CDT --- See bug 30614 for the hang (well, really just big slowdown) when appending text to a hidden richedit control.
http://bugs.winehq.org/show_bug.cgi?id=30593
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |performance CC| |adys.wh@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30593
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #7 from Dan Kegel dank@kegel.com 2012-05-08 18:27:07 CDT --- This bug is a bit messy - I'm going to file a cleaner one for the remaining problem.
http://bugs.winehq.org/show_bug.cgi?id=30593
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Dan Kegel dank@kegel.com 2012-05-08 18:27:29 CDT --- Closing abandoned.
http://bugs.winehq.org/show_bug.cgi?id=30593
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|ABANDONED |INVALID
--- Comment #9 from Jerome Leclanche adys.wh@gmail.com 2012-05-11 09:55:11 CDT --- Invalid then, not abandoned.