By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,617 Members | 1,751 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,617 IT Pros & Developers. It's quick & easy.

Slow Application Start In All .NET Languages

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
"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

P: n/a
Try to build your app in Release-Mode instead of Debug-Mode.
It sometimes helps.
Nov 15 '05 #3

P: n/a
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.