2011/2/16 Leo Razoumov:
Wow! This is impressive. BTW, is it possible to make the test case run
longer, let say, 5 seconds for Lua.
CPU throttling causes large timing variability of very short processes.
Hi Leo,
I've already made this test, I've changed t1 to 2000 instead of 200
and the benchmark was confirmed, LuaJIT2 is faster then C code using
the GSL library and compiled with -O2.
I've made again the tests right now in my windows computer at work.
Here the results:
rk4-unroll.lua with LuaJIT2: 0m4.391
C code with GSL lib (opt -O2): 0m20.094