Re: Eu vs PowerBasic

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

My computer is the same spec as Dereks, running on Linux I get 6.34s and 6.18s translated!

So much for benchmarks.

Wow! I just ran it again, same results. Are you guys running debug versions of eui from SVN? I am running from SVN but not debug builds (if that matters).

C:\Develop\euphoria>cat t.ex 
without type_check 
 
atom x, y = 1.000001, t 
 
for repeatloop = 1 to 10 do 
        x = 1 
        t = time() 
 
        for i = 1 to 100000000 do 
        x = x * y 
    end for 
 
        ? time() - t 
end for 
 
C:\Develop\euphoria>eui -version 
Euphoria Interpreter 4.0.0 development (r2148M) for Windows 
Using Managed Memory 
 
C:\Develop\euphoria>eui t.ex 
2.391 
2.359 
2.343 
2.344 
2.359 
2.36 
2.422 
2.343 
2.344 
2.36 
 
C:\Develop\euphoria>euc -con t.ex 
Translating code, pass: 1 2 3  generating 
Compiling with Watcom 
Compiling 13% init-.c 
Compiling 50% t.c 
Compiling 75% main-.c 
Linking 100% t.exe 
 
To run your project, type t.exe 
 
C:\Develop\euphoria>t.exe 
1.609 
1.516 
1.531 
1.531 
1.516 
1.516 
1.531 
1.516 
1.531 
1.531 

I run a quad core 2.4ghz w/4g ram, but the app never uses more than 900k ram and it's limited to 1 processor.

Jeremy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu