Re: eu 4.0

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

Matt Lewis wrote:
> 
> irv mullins wrote:
> > 
> > 
> > I downloaded yesterday's release.
> > Good news is it runs EuGTK programs. 
> > Bad news it it takes 8+ seconds to start up. 
> > Eu 3.1 takes 1 second or less.
> > 
> > Profile_time doesn't work in Linux, so where 
> > or how should I start looking for the problem?
> 
> Did someone post a binary?  I've run wxEuphoria apps with 4.0, and it
> doesn't seem to take any longer.
> 

In IRC, I gave rywilly a link to a built version because we are jointly working
on a wiki program. But I didn't make any public link. I'm sure others could have
downloaded it, but it's pre-pre-alpha. However, that being said, I ran a simple
bench mark of the sieve8k.exw script that comes with 3.1 and 4.0. To show nothing
has been altered, I ran the 3.1 version. Here are the results for 4.0 and 3.1 as
downloaded from RDS:

$ time /opt/euphoria-3.1/bin/exu /opt/euphoria-3.1/demo/bench/sieve8k.exw 10000
Prime Sieve Benchmark
Count: 1028
time: 4.82

real    0m4.825s
user    0m4.816s
sys     0m0.010s

$ time /opt/euphoria-4.0/bin/exu /opt/euphoria-3.1/demo/bench/sieve8k.exw 10000
Prime Sieve Benchmark
Count: 1028
time: 2.75

real    0m2.750s
user    0m2.746s
sys     0m0.003s

Notice that 4.0 is more than 2 seconds faster. Now, this is including start
up/parsing/run/cleanup time as the unix time command starts the timer, then
spawns the program it's timing, then only stops the timer one the spawned program
has been terminated and returned control to it.

Why is it taking 8 seconds? That seems very odd. Can you tell us where you got
the binary or if it is compiled from sources? If compiled from sources, what
revision of svn?

Thanks.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu