I am looking for some pointers on how to tune a pretty large WinForm app
(written in vs2005). Currently it is pretty sluggish on a 2.8 Ghz P4
with plenty of RAM. The forms have a lot of controls (but they are well
hidden in tabs), however the redrawing of controls (even simple ones
like a textbox and labels) is simply sluggish, much more so, than on a
similar (in size) app I worked on in .NET 1.x. I tried profiling the
application, but basically, the slowness occurs in system methods such
as this.Controls.Add and, subsequently, InitializeComponent function and
some other places.
I guess, I am looking for some guidelines on how to make a fast WinForm
app. Also, are there any automated perf checking tools that can tell me
where the bottlenecks are? Preferably low-cost or free.
Thanks.