lua-users home
lua-l archive

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


On Sat, Dec 16, 2017, at 14: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

Note that in this benchmark LuaJIT was run with `-j off`, i.e. with JIT
disabled, in pure interpreter mode...

-- 
Pierre Chapuis