lua-users home
lua-l archive

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


On Fri, Apr 15, 2011 at 04:30, Geoff Leyland <geoff_leyland@fastmail.fm> wrote:
> On 15/04/2011, at 12:25 PM, Alexander Gladysh wrote:

>> For illustrative reasons I need a Lua VM benchmark script (note: not a
>> benchmarking tool, but a script).

> There's a raytracer here: http://www.incremental.co.nz/projects/lua.html
> (It's not intended for drawing pictures, it was just to compare Lua and LuaJIT)

Thanks.

You suggest that it should be modified that its output is suppressed
and execution time measured with os.clock(), right? (Or os.time()? Not
sure if os.clock() is available in exotic VMs.)

This would do, but I would prefer something intended as a benchmark,
so it would be more illustrative...

Alexander.