[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaJIT-2.0.0-beta1
- From: Mike Pall <mikelu-0911@...>
- Date: Sun, 1 Nov 2009 16:43:34 +0100
Petite Abeille wrote:
> % lua -v Nanoki.lua . 0 1080
> Requests per second: 773.17 [#/sec] (mean)
> % luajit -v Nanoki.lua . 0 1080
> Requests per second: 1174.19 [#/sec] (mean)
> % luajit -v -joff Nanoki.lua . 0 1080
> Requests per second: 1167.37 [#/sec] (mean)
I suspect this is doing many I/O calls (not compiled yet) or doing
a lot of string handling (the compiler is still a bit weak there).
There's still a lot of room for improvement ...
> When trying 'luajit -jv' I get an 'unknown luaJIT command'. Did I get
> the command line options wrong?
No, but you've either not installed the modules, e.g. lib/v.lua
installs to: /usr/local/share/luajit-2.0.0-beta1/jit/v.lua
Or maybe the paths are wrong. Try luajit -ljit.XYZ and check the
error message to see where it's searching.
--Mike