Slow Application Start In All .NET Languages

M

Mythran

I've noticed that no matter which language I choose and no matter how small the
application, it still takes about 3-5 seconds to start up compared to vb's 1-3
seconds startup on an average SMALL application. Is this because of the
precaching factors in the .NET framework or is my machine so slow (1.6 GHz, yeah
right) that it can't load it all fast enough. Also, understanding the .NET IDE
and how much is involved, is there any way to speed up the loading of projects
(projects on a small to medium can sometimes take 30+ seconds to load the project
and then give control of the IDE back to me).

Just some pet peeves concerning .NET and the slow startup / response times of the
framework.

Thanks,
Mythran
 
T

Tim Anderson

Mythran said:
I've noticed that no matter which language I choose and no matter how small the
application, it still takes about 3-5 seconds to start up compared to vb's 1-3
seconds startup on an average SMALL application. Is this because of the
precaching factors in the .NET framework or is my machine so slow (1.6 GHz, yeah
right) that it can't load it all fast enough.

When you start the app the runtime loads (if not already loaded) and then
your app gets just-in-time compiled.

Not a lot you can do; you can precompile with ngen but while loading time
may improve performance will be no better and might actually be worse IIRC.

That leaves strategies like splash screens, examples have been posted if you
Google. I like to have a native code loader app; this appears in a flash
while your .Net app loads in the background. If you do this you need to make
sure the loader app goes away when you want it to :)

Tim

Why Tablet PC? see http://www.itwriting.com/tablet.php
 
S

scorpion53061

I have been taught that switching between release mode and debug mode is a
bad idea.
Perhaps the teacher was trying to scare me. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top