Re: Interesting benchmark results - Euphoria vs. Euphoria

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

I get (running each twice):

...

My results don't show as dramatic a difference, and in fact, 4.0.5 was the best.

Matt

Which benchmark program did you run, my original, or Derek's modified version?

I also get much better times when I run Derek's modified version - not quite as good/consistent as yours though. But I consider Derek's version cheating smile

My times were with your code. Honestly, just putting it all in a main() function was the biggest difference. I did do some similar things as Derek's code in playing with it, and 4.0.5 and 3.1 were about the same (12-15s) and the 64 bit version of 4.1 was a little bit slower (~17s).

I think wrapping it in a main() function isn't much cheating, since many languages make you do that anyways. The top level variable checking is there due to the ability to forward reference and jump around in code. The interpreter doesn't / can't do the level of checking that the translator does, and in this case, the feature vastly outweighs the performance degradation.

The temp variable stuff is definitely something we need to work on, but again, it's a huge feature win, in my book.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu