Re: News7.ex now runs at Ludicrous Speed.

new topic     » goto parent     » topic index » view thread      » older message » newer message
CoJaBo2 said...
useless_ said...

I'd be real interested to hear if this version runs any faster than news.ex or news3.ex for those of you with internet download speeds over 3Megabits.

Mostly just because I had it available...

$ wget 'http://cachefly.cachefly.net/100mb.test' 
<snip> 
104,857,600 58.3M/s   in 1.7s     
<snip> 
 
$ clear; yes | time ./bin/eui news3.ex 
Looking for lines containing "Libya" 
 
<snip> 
 
all done in 2 seconds 
 
All Done. 
Press [enter] key to exit 
1.64user 1.09system 0:03.80elapsed 71%CPU (0avgtext+0avgdata 0maxresident)k 
0inputs+8outputs (0major+16854minor)pagefaults 0swaps 
 
------------------------------------------------------ 
 
$ clear; yes | time ./bin/eui news7.ex 
Looking for lines containing "Libya"                                              
 
<snip> 
 
All urls searched in: 1 seconds. 
 
All Done. 
Press Any Key to quit... 
1.44user 0.72system 0:03.45elapsed 62%CPU (0avgtext+0avgdata 0maxresident)k 
0inputs+8outputs (0major+16828minor)pagefaults 0swaps 


So news7 used less cpu and still finished faster, cool.

CoJaBo2 said...

There is about a 2.5 second lag before anything is even printed; after that it takes about 1-2 sec to run. Is this normal?

Seems to be that startup lag on all Eu 4 apps. I now put a flag of some sort in all my apps to let me know when the app i wrote is actually running, as opposed to starting up or hung. the flag beats sitting there staring at the screen saying "is it running, is it hung, is it running, it hung, did it really hang?..."

Thanks Cojabo.

useless

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu