[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How fast is LuaJIT supposed to be?
- From: Alexander Gladysh <agladysh@...>
- Date: Fri, 21 Jan 2011 09:52:40 +0300
On Fri, Jan 21, 2011 at 09:47, Steve Litt <email@example.com> wrote:
> A few weeks ago I wrote a Lua prime number generator. Today, to test Lua 5.1.4
> vs LuaJIT 1.1.6 I ran the prime numbers between 1 and 50 million, writing all
> numbers to /dev/null to minimize I/O time. Lua took typically around 48
> seconds and LuaJIT took around 34 seconds. Is this typical of a CPU/memory
> bound process?
Why do you try LJ 1.1.6? Try LuaJIT 2! :-)
Also, you may want to show us the benchmark code.