[Mono-list] Performance issue

Serge serge@wildwestsoftware.com
Tue, 4 Sep 2001 23:12:15 +0400


I think you're generally right about .NET's GUI performance (slow).
It could be slow (when compared to native app) for various reasons.
Comparing torus example from Lloyd's CSGL (the sample has both native Win32
and C# implementation) it was noted that .NET GUI app spawns a lot of
additional threads, thus number of context switches and time spent in kernel
increases dramatically (according to performance monitors). But to be fair,
that native version is a hack - no one writes real GUI apps this way :-)

----
Serge



----- Original Message -----
From: Alexander Klyubin <klyubin@aqris.com>
To: <mono-list@ximian.com>
Sent: Monday, September 03, 2001 10:37 PM
Subject: RE: [Mono-list] Performance issue


> In Java, for example, performance of GUI is slow because of many levels of
> indirection between Java's GUI API (AWT/Swing) and platform's one. This
> indirection is because of platform independency. This same performance
might
> apply to C#/any .NET language. Note that I don't really know much about
GUI
> packages of .NET.
>
> Alexander Klyubin
>