lua-users home
lua-l archive

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


> Is there a known way to profile Lua code?

If you'd like to analyse the VM code produced by Lua then luac is useful.
The luac output is a little cryptic so you might want to use
http://lua-users.org/wiki/VmMerge to merge the VM code and the orignal
source code which makes it easier on the eye. Often lua objects are created
where you never thought they would be or you over look occasions when they
are. 

http://lua-users.org/wiki/OptimisationTips may also be useful.

Regards,
Nick