5 seconds to load program

  • Thread starter Tomomichi Amano
  • Start date
T

Tomomichi Amano

NEWBIE : I am making a program (pretty small).
BUt somehow, it takes about 5 seconds to load the program.

I wonder what kinds of objects or codes make program to load slowly.
 
N

Nicholas Paldino [.NET/C# MVP]

Tomomichi,

Even if the code is small, that doesn't mean that it can't have
performance implications. Also, there are factors such as the specs of your
machine, what else you have running, etc, etc.

On top of all of that, the runtime does need some time to initialize,
but I would say that five seconds is a little long.

Can you show some of your code and give more information about your
setup?
 
I

Ignacio Machin

Hi,

Post the code , also see how much does it take to load an empty windows
application, maybe it'sa problem with your machine.

Cheers,
 
J

John Baro

Are you running in debug or compiled exe
I have experienced this before but once I compiled and ran the .exe the time
was reduced dramatically.
HTH
JB
 

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

Top