lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 16 December 2017 at 13:00, Frank Kastenholz <> wrote:
> As a comparison, what is the time for the benchmark to run if it's coded in C?
> Work I did 2-3 years ago showed between a 5x to 10x improvement when going from Lua to c.  If that holds, a C implementation would take between 2.5 and 5 seconds,  comparing very favorably with luajit and ravi
>> luajit (v2.1 github, -j off): 9.4 seconds

I was comparing the interpreter performance - of course things get
faster when JIT is enabled. Example:

luajit matmul1.lua

time taken 0.882477