Loading Time

Topics: CAB & Smart Client Software Factory
Apr 27, 2007 at 10:34 AM
Hello everyone.

Now, I have my SCSF Application working without problems.

The only problem we have is that, launching the application takes quite time for initialize it. Is this normal?? I'm look over all application code trying to optimize it. Creating services on demand, etc, etc. I get a bit time reduction, but not much more.

I observed, than running the application in Visual Studio enviroment takes less time to launch it than run the installed version.

Someone has the same problem!


Apr 27, 2007 at 1:48 PM
Could you be more specific. "quite time"?
Can you isolate what is taking time? (using a profiler)
On my computer it takes about 5 seconds to load an empty SCSF executable. Each module adds to that depending on what initializing it has to do.
Apr 30, 2007 at 3:27 PM
If you run your startup with a VS.Net performance session you can see the breakdown of what take the most time. This should help you in diagnosing the problem.
Have a read of these posts