![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Oct 2005
Location: Vancouver, Canada
Posts: 47
Rep Power: 0
![]() |
Why do the smallest apps take the most time to execute...?
This has nothing to do with anything else, but it's something a bit odd.
I use a Win 2000 Professional box at work. Oddly, when I try opening the Print or Page Setup dialogs in Notepad or Wordpad, those dialogs take forever to open...yet when I print or do page setup in Word, the boxes open immediately. It's bizarre, because by any measure, Notepad and Wordpad should take up less memory and CPU time than anything in the behemoth that is Word! I don't think it's an issue of caching either...printing in Notepad and page setup in Wordpad always take a long time to get going. It's just really odd. Any ideas? (Yes, I know: "Why don't you use <insert name of non-MS text editor here>?" Good question. Notepad and Wordpad are pretty crappy as text editors go. Maybe it's time to install Textpad or something else.)
__________________
It can be proved that you can watch streaming video on a Turing machine. The question is, why would you want to? |
|
|
|
|
|
#2 |
|
PFO Founder
![]() ![]() |
They both take the same amount for me. both Word is quick and so is notepad and wordpad. Sorry I dont have a clue why that would be like that for you.
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Oct 2005
Location: Vancouver, Canada
Posts: 47
Rep Power: 0
![]() |
I'm not complaining: it's not a problem. I'm just intrigued....
__________________
It can be proved that you can watch streaming video on a Turing machine. The question is, why would you want to? |
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Have you defragged recently? Does your hard-drive light do a lot of flickering while these apps are loading?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#5 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
On just about any modern machine, notepad and wordpad load almost instantly. Your case is not one that I am familiar with.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#6 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5
![]() |
same here, it's probably machine-dependant. there's one computer in the computer lab at school that almost had me throwing the monitor across the room today because of stuff like this.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
that's strange... I had a similar problem with 'find'...
|
|
|
|
|
|
#8 |
|
Expert Programmer
|
As DaWei suggested, try to defrag you harddrive with the windows instalation.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#9 |
|
Programmer
Join Date: Oct 2005
Location: Vancouver, Canada
Posts: 47
Rep Power: 0
![]() |
Well, yes, the hard drive is in desparate need of some cleanup. Lots of unneeded, undeleted binaries, that sort of thing; the disk is probably a veritable patchwork of free vs. used space. Thanks for all your tips.
(It's not as bad as it once was. I once had to install Oracle Server on my machine to do some testing; it took up so much disk space, I ran out of virtual memory! Since then, I can't recall if I've defragged.) I'll try some serious disk maintenance, then see if it's still an issue. It's just that as I noted, oddly, processor/memory-intensive juggernauts like Word seem to run fine; it's these small, humble programs that seem to take long to do things. Of course, to really start afresh, there's always format c:
__________________
It can be proved that you can watch streaming video on a Turing machine. The question is, why would you want to? |
|
|
|
|
|
#10 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
My gosh, just start defrag when you leave for the day. File fragmentation doesn't have a lot to do with whether or not a program is a juggernaut. Disk drives are so fast these days that no one seems to appreciate that they are STILL orders of magnitude slower than memory accesses. It takes milliseconds to move the head about on its little leadscrew, even on a small platter. Rotation of the platter until the appropriate data is under the head isn't instantaneous, either. Is 7200 RPM slow or fast? Are you trying to hop on a merry-go-round, or access data rapidly? It's all relative.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|