[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua: Performance
- From: "Bruce O. Benson" <bbenson@...>
- Date: Tue, 19 Aug 2008 18:25:47 -0400
Also could compile perfmon2 instrumentation into the lua executable used and start poking all around.
...If you're on a platform that supports this.
On Fri, Jul 25, 2008 at 3:12 PM, Makoto Hamanaka <firstname.lastname@example.org>
> 1) how serious is global variables wrt performance?How about trying AMD CodeAnalyst (free!) or Intel VTune (there's free
> 2) we tried LuaJIT. It gives 30-40% performance improvement on simple
> Lua code. But, in case of actual code(which involves access to some
> in-memory DB (mcO) and other C call), it is not giving any improvement.
> Any suggestions!
> - Manish Jain
trial version) ? These tools support Windows and several distributions
It will tell you which module and which C function is consuming CPU time,
without big overhead. So you can find out which to blame, Lua or other
part of code.
AMD Codeanalyst can run basic profiling on both AMD and Intel CPUs.
And it can do detailed profiling on AMD CPUs, As I used Windows version.
VTune seems to have better call stack analysis. But it supports Intel
Makoto Hamanaka <email@example.com>
Bruce O. Benson, mailto:firstname.lastname@example.org
Donating spare CPU to science: Folding@home Team Debian (#2019)