473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 17 '05 #1
3 1202
"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 17 '05 #2
Try to build your app in Release-Mode instead of Debug-Mode.
It sometimes helps.
Nov 17 '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 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Jason | last post by:
Hey, I'm an experience programmer but new to Python. I'm doing a simple implementation of a field morphing techinique due to Beier and Neely (1992) and I have the simple case working in Python...
8
by: bettina | last post by:
I'm re-programming my Website (www.coaster.ch) in PHP and I find it too slow (although I have ADSL). That's more or less how it functions: Here my tables: 'COASTERS' (code of coaster, code of...
3
by: Mythran | last post by:
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...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
13
by: Bob Day | last post by:
Using vs2003, vb.net I start a thread, giving it a name before start. Code snippet: 'give each thread a unique name (for later identification) Trunk_Thread.Name = "Trunk_0_Thread" ' allow...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
5
by: PH | last post by:
Hi guys; I got a single processor computer, running an application that launches 2 threads. Each of these threads listens for incoming connections in a specific port, so there is a Loop ....
22
by: Albert Oppenheimer | last post by:
I thought my program had to be caught in a loop, and cancelled it through the task manager. It took about one second in Java, but re-implemented in C, it had already run over one minute. I set...
9
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App...
39
by: cm_gui | last post by:
Python is slow. Almost all of the web applications written in Python are slow. Zope/Plone is slow, sloow, so very slooow. Even Google Apps is not faster. Neither is Youtube. Facebook and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.