468,245 Members | 1,688 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,245 developers. It's quick & easy.

Slow Application Start In All .NET Languages

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
Nov 15 '05 #1
3 1979
"Mythran" <ki********@hotmail.com> wrote in message
news:O3**************@TK2MSFTNGP11.phx.gbl...
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
Nov 15 '05 #2
Try to build your app in Release-Mode instead of Debug-Mode.
It sometimes helps.
Nov 15 '05 #3
I have been taught that switching between release mode and debug mode is a
bad idea.
Perhaps the teacher was trying to scare me. :)

"Maxyha" <ma*******@compuserve.de> wrote in message
news:bm************@ID-197990.news.uni-berlin.de...
Try to build your app in Release-Mode instead of Debug-Mode.
It sometimes helps.

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Jason | last post: by
3 posts views Thread by Mythran | last post: by
13 posts views Thread by Bob Day | last post: by
50 posts views Thread by diffuser78 | last post: by
5 posts views Thread by PH | last post: by
22 posts views Thread by Albert Oppenheimer | last post: by
9 posts views Thread by SAL | last post: by
39 posts views Thread by cm_gui | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.