Re: Interesting benchmark results - Euphoria vs. Euphoria
- Posted by mattlewis (admin) May 22, 2014
- 2500 views
I get (running each twice):
Interpreter | Time |
---|---|
exu (3.1) | 23, 20 |
eui (4.0.5) | 19, 19 |
eui (4.1, 32-bits) | 25, 25 |
eui (4.1, 64-bits) | 29, 30 |
My results don't show as dramatic a difference, and in fact, 4.0.5 was the best.
I haven't dug into the details, but Derek is right, the difference is really the way we handle temporary values. This was really a consequence of being able to have things get cleaned up (memory freed, files closed, etc) when a value loses all reference counts.
We could probably do more work on figuring out when that's not necessary (e.g., when it's an integer).
OTOH, the translators are consistent:
Translator | Time |
---|---|
ecu (3.1) | 2, 2 |
eui (4.05) | 2, 2 |
euc (4.1, 32-bits) | 2, 2 |
euc (4.1, 64-bits) | 2, 2 |
Matt