Pi Benchmark Game
- Posted by _tom (admin) Aug 23, 2018
- 2455 views
In the Can OpenEuphoria Help Solve This? topic I had a messy start on a PI calculation benchmark. Thanks to Pete I can present better benchmarks:
Comparing the fastest interpreters: OE, Phix, and LuaJIT.
Testing on a 32bit atom netbook.
| Language | Time in Seconds |
|---|---|
| OE Interpreter | 10 |
| OE Compiled | 2.1 |
| Phix Interpreter | 6 |
| Phix Compiled | 4.7 |
| LuaJIT Interpreter | 17 |
Testing on a 64bit i5 netbook:
| Language | Time in Seconds |
|---|---|
| OE Interpreter | 3.1 |
| OE Compiled | 0.25 |
| Phix Interpreter | 1.4 |
| Phix Compiled | 1.3 |
| LuaJIT Interpreter | 2.5 |
The source-code for this test is at the wiki page https://openeuphoria.org/wiki/view/Calculate%20Pi.wc
_tom

