lua-users home
lua-l archive

Re: bit.lshift and performance - luabitop v.s. lua-5.2.0-work4

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


Shmuel Zeigerman wrote:
> Javier Guerra Giraldez wrote:
> >time luajit-2.0.0-beta4 -e "for i=1,1e9 do end"
> >
> >real 0m0.864s
> >user 0m0.840s
> >sys 0m0.010s
> >
> >still not as good as mike's, but well into 21st century!
> 
> I'm getting 0.359s with luajit-2.0.0-beta5 (built with MinGW), on a
> very cheap PC.
On a Core2: 1/time_in_seconds ~ CPU Frequency in GHz.
On a P4/Celeron: 1.5/time_in_seconds ~ CPU Frequency in GHz.
So, yes, I do have a 3GHz Core2.
--Mike

AltStyle によって変換されたページ (->オリジナル) /