Page 1 of 1

Lua vs LuaJIT2 alises

Posted: Mon Jun 20, 2011 9:13 pm
by Vadi
For anyone doing heavy computing with a Mudlet that uses LuaJIT2 (check if the 'jit' global table exists to know if you are), benchmarks from the LuaJIT2 page with Mudlet stopwatches. The result is rather amazing for raw computing when you bring ffi in:

jitlua
The LuaJIT2 conversion took 0.66 seconds.
jitlua
The LuaJIT2 conversion took 0.654 seconds.

purelua
The Lua conversion took 6.384 seconds.
purelua
The Lua conversion took 6.33 seconds.