[Mono-bugs] [Bug 76674][Maj] Changed - extremely poor performance and huge amount of memory consumption in case of extreme zooming

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 15 17:15:12 EST 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by michael.paul at tao.es.

http://bugzilla.ximian.com/show_bug.cgi?id=76674

--- shadow/76674	2005-12-15 17:04:08.000000000 -0500
+++ shadow/76674.tmp.28433	2005-12-15 17:15:12.000000000 -0500
@@ -588,6 +588,30 @@
 Thanks. Jordi,
 
 ------- Additional Comments From michael.paul at tao.es  2005-12-15 17:04 -------
 Created an attachment (id=16218)
 50 lines GraphicsPath test case
 
+
+------- Additional Comments From michael.paul at tao.es  2005-12-15 17:15 -------
+Please, consult the new attachment it is a 50 lines test case.
+If you execute this several times on Windows the output should be:
+mono TestCase.exe
+Time needed:00:00:00.1910000
+
+And if you execute the same on Linux (e.g. Suse 10), you will obtain
+something like this:
+time mono TestCase.exe
+Time needed: 00:00:01.2310000
+
+real 0m1.493s
+user 0m0.208s
+sys  0m0.624s
+
+The problem to me is definitely the CPU usage. I am only passing a
+very small test case to you. In the real application we have to render
+thousands of polygons, not just two. In Windows this is being done
+within milliseconds and normally in Linux, too. Only, if in Linux some
+GraphicsPath are extremely zoomed instead of milliseconds the Linux
+version needs several minutes (!) to render everything.
+
+BTW: a call to Graphics.Clip (Region) seems to improve performance a bit. 


More information about the mono-bugs mailing list