[Mono-winforms-list] Too slow performance on RichTextBox?

sharkal wolfgang.ginner at kapsch.net
Mon Mar 19 15:11:38 UTC 2012


i am listening on some udp ports at the same time, where messages will be
received asynchronous in average ~ each 5-10ms. These messages i will write
into a logfile at a lower level ( own thread)  and also display the message
in the GUI in a RichTextBox with a certain color. For this, i add the
messages in a list  and a backgroundworker will flush the list after a
certain period into the RichTextBox:
                foreach (var log in logMessages)
                    rtxtLogMessages.AppendText(log.Value + "\n");

*The problem is*, that displaying the text takes too long time. If i receive
messages in an interval around 25ms, then it is fast enough.
I heard, that it is possible to change any low-level settings of mono to
have a better performance. Does anyone has an idea, how to do or what i have
to do  to solve the problem?
In Windows, the performance is fast enough.

View this message in context: http://mono.1490590.n4.nabble.com/Too-slow-performance-on-RichTextBox-tp4485123p4485123.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

More information about the Mono-winforms-list mailing list