Click to See Complete Forum and Search --> : Why is C# so slow?


kangolian
July 16th, 2003, 05:00 AM
Does anybody else find that your C# apps are VERY slow to launch?
My PC has a reasonable spec, yet it can take upto 20 seconds for my C# app to launch when I'm trying to debug it. I also noticed that my VB.NET apps are painfully slow too.
Even an app that consists of just a blank form takes an age to launch.
Is there a way to speed things up?

Steph David
July 16th, 2003, 05:22 AM
As .Net is doing Just In Time compiling, it finishes to compile your program the first time you launch it, which is generally the case after you change something and try to debug it.
You may try to launch the program once, close it, and launch it again immediately, without doing any change in the code, and see if you notice a difference the second time.