News for hackers. Stuff that matters.
Re:Hello World execution time by przemelek on Sunday June 26, 2011 @03:28PM (#2698839)
For Java long start time is because it initializes big amount of RAM at the start, but thanks to this creating objects latter is fast. Additionally measuring of start of program is meaningless, what this say to us? Nothing. OK, maybe something, something like "write programs/scripts which execution is less than seconds in languages like ....". But for most of programs it doesn't matter. What the difference if program starts 3.1-3.2 seconds and 0.05 second? If execution time is longer than minute human will not see difference.
Re:Hello World execution time by burgerbrain on Sunday June 26, 2011 @04:34PM (#2699007)
I can understand people decrying results of .05 seconds apart or so, but 3 second start ups? That would be infuriating. That kind of UX would take me back quite a few decades...
Re:Hello World execution time by kabdib on Sunday June 26, 2011 @09:30PM (#2699706)
Garwk. I've helped write whole operating systems that boot in less time. [Atari ST. Check. Newton OS. Check. Other stuff I can't talk about: tens of milliseconds, mostly waiting for external crap like USB to initialize and settle down.]
Re:Hello World execution time by igouy on Monday June 27, 2011 @09:26PM (#2703659)
What przemelek actually suggested is that you won't notice the difference between a 63.1 second run time and a 60.05 second run time.
Re:Hello World execution time by dchest on Sunday June 26, 2011 @03:35PM (#2698853)
For Java long start time is because it initializes big amount of RAM at the start.

Why would this take so much time?

Re:Hello World execution time by sheffield on Sunday June 26, 2011 @03:39PM (#2698874)
He wrote: "[...] it's pretty important when you are writing shell scripts / cron jobs / random commandline utilities.".
Re:Hello World execution time by dougws on Monday June 27, 2011 @12:45AM (#2700153)
I definitely notice the difference in speed between CLI utilities written in C and those in python or ruby.
Re:Hello World execution time by jpr on Monday June 27, 2011 @02:40AM (#2700397)
If xterm, less, ls, vi and others would take 3 seconds to start, I would never get anything done. I think it's sad that people think that 3 seconds is fast (unless the program is loading some big data of course).