473,403 Members | 2,366 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,403 software developers and data experts.

5 seconds to load program

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.
Nov 13 '05 #1
3 1643
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?
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Tomomichi Amano" <to*********@hotmail.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl...
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.

Nov 13 '05 #2
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,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Tomomichi Amano" <to*********@hotmail.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl...
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.

Nov 13 '05 #3
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
"Tomomichi Amano" <to*********@hotmail.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl...
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.

Nov 13 '05 #4

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

Similar topics

0
by: Plymouth Acclaim | last post by:
Hi guys, We have a problem with Dual AMD64 Opteron/MySQL 4.0.18/Mandrake 10 for a very high volume site. We are evaluating the performance on our new server AMD64 and it seems it's slow compared...
1
by: ritchie | last post by:
I have a fairly complex asp.net page containing a number of usercontrols. It takes 6-8 seconds to load first time up with data. Subsequent loads of another record in the page only takes 1-2...
3
by: Kevin | last post by:
Hi guys, I want to refresh some pages every 2 seconds. however, these html pages are not in my site, they could be any pages from yahoo.com or msn.com. I can create a page, which redirect to...
5
by: charlie strauss | last post by:
Below is a simple program that will cause python to intermittently stop executing for a few seconds. it's 100% reproducible on my machine. I'd be tempted to say this is a nasty garbage...
1
by: markdp | last post by:
I'm trying to write a program that takes a user inputted number of seconds and converts it into hours, minutes and seconds. So for instance, the program prompts the user for seconds, lets say 1000...
3
by: drakkofox | last post by:
Hi there, i need to subtract 36000 seconds, or a day, to get the yesterday's date, but with consistence check. for example, if i input the date 01/03/2007(dd/mm/yyyy) on the program, it should...
7
Ajm113
by: Ajm113 | last post by:
Ok, as some of you may know I am making a search engine and right now it takes atleast 47 or 40 seconds to load up 5 or more results here is what it is doing; 1.Load logo, textbox, what the user...
37
by: David T. Ashley | last post by:
I have Red Hat Enterprise Linux 4. I was just reading up about UTC and leap seconds. Is it true on my system that the Unix time may skip up or down by one second at midnight when there is a...
7
by: Breana | last post by:
I need to create a a simple load index.php after 3 seconds with php. On my login page i want it to say Welcome back, $userid Loding page... and have it load the index.php after 3 seconds is this...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.