[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bit.lshift and performance - luabitop v.s. lua-5.2.0-work4
- From: Martin <wtxnh-lua@...>
- Date: Wed, 13 Oct 2010 20:00:45 +0200
On Wed, Oct 13, 2010 at 04:15:41PM +0200, Mike Pall wrote:
> KHMan wrote:
> $ time luajit -e "for i=1,1e9 do end"
> 0.340
>
> This means it performs THREE BILLION loop iterations per second.
> Welcome to the 21st century! Time to readjust your perceptions. :-)
$ time luajit -e "for i=1,1e9 do end"
real 0m25.092s
user 0m22.393s
sys 0m0.076s
For comparation:
$ time lua -e "for i=1,1e9 do end"
real 1m47.820s
user 1m36.238s
sys 0m0.332s
It seems I have to wait a little bit for 21st century to arrive into
my backyard hehehe... :)
Btw. it is luajit 1.1.5
Martin