Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 4146 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 1601 [details]
The test program illustrating the performance loss.
We are developing a GUI application logging frames sent by remote Devices. We developing the linux part with Mono for Visual Studio 2008.
currently we are using
- Mono for Visual Studio 2008 Version 2.0.7180
- OpenSuse 11.4, Mono JIT xompiler version 2.10.6 or 2.8.2
Desktop computer properties:
3,5 GB RAM, 4x 2.83 GHz, Windows 7 32-bit
We have serious performance problems when writing text into a RichTextBox with a high rate. Now we wrote a test program that just writes lines (~70 characters) into a RichTextBox in a loop. Under Windows everything works fine so far. The rate is about 1 line per milisecond. Under openSuse and Mono the operations slows unacceptably down to a period of about 15ms per line.
What configuration we could perform to get the performance to acceptable rates? Let's say to 300-400 lines per second. Any Advice? Is it a defect?
I attached a test program. With this you can reproduce the observed behavior (see method btnStart_Click). To show that no other parts of the loop causing the problem we alternatively wrote the same stream to a file. In this case the lines are written at given rate without obvious performance loss. You can easily sitch between two modes (writting to file or to RichTextBox).