Re: Interesting benchmark results - Euphoria vs. Euphoria
- Posted by ed_davis May 22, 2014
- 2718 views
PeteE said...
Hi Ed, sorry about that - I only tested Linux and Mac. I'm installing MinGW on Win 7 now...
Edit: Fixed now and pushed to github. Needed "strtoul" instead of "strtol" when reading the bytecodes.
Works much better now
Compiled for 32-bit under 64-bit Windows 7: 17.96 seconds
Compiled for 64-bit under 64-bit Windows 7: 14.26
And here is how it compares to some other language processors.
Processor | Time | Type | From |
---|---|---|---|
C -O3 or -O2 | 1.00 | Native | |
BCX | 1.12 | C | bcxbasic.com |
C -O or -O1 | 1.13 | Native | |
Java | 1.23 | JIT | |
C# | 1.34 | JIT | |
Visual Basic .Net | 1.52 | JIT | |
Free Pascal -O3 | 1.92 | Native | freepascal.org |
C, no options | 1.96 | Native | |
C -Os | 2.38 | Native | |
Borland C | 2.80 | Native | |
TinyC | 3.23 | Native | bellard.org/tcc |
Free Basic | 3.36 | Native | freebasic.net |
euc -gcc -con | 3.58 | C | Euphoria to C (gcc) |
Oxygen basic | 3.77 | Native | oxygenbasic.org |
Power Basic | 4.03 | Native | powerbasic.com |
euc -wat -con | 6.52 | C | Euphoria to C (watcom) |
Euphoria v3.1 | 12.45 | VM | rapideuphoria.com |
PE 64-bit | 14.26 | VM | github.com/peberlein/interpreter |
PE 32-bit | 17.96 | VM | github.com/peberlein/interpreter |
Euphoria v4.04 | 24.36 | VM | openeuphoria.com |
QB64 | 32.43 | C++ | qb64.net |
Pike | 44.39 | VM | pike.lysator.liu.se |
calc3a | 54.87 | AST | epaperpress.com/lexandyacc/ |
toy2.c | 58.39 | VM | groups.yahoo.com/neo/groups/QDepartment/files/Ed-Davis-stuff |
Tinypas.c | 58.97 | VM | Pascal-S converted to C |
Ruby | 60.25 | VM | ruby-lang.org |
Euphoria v4.1 beta | 61.40 | VM | openeuphoria.com |