[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How fast is LuaJIT supposed to be?
- From: Alexander Gladysh <agladysh@...>
- Date: Fri, 21 Jan 2011 10:52:33 +0300
On Fri, Jan 21, 2011 at 10:12, Steve Litt <slitt@troubleshooters.com> wrote:
> On Friday 21 January 2011 01:52:40 Alexander Gladysh wrote:
>> On Fri, Jan 21, 2011 at 09:47, Steve Litt <slitt@troubleshooters.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! :-)
> Is it significantly faster than 1.1.6? I just took the stable one.
It is indeed. Look at the benchmarks:
http://luajit.org/performance.html
Also I consider it production-quality stable (where documented), just
not feature-complete.
Alexander.