lua-users home
lua-l archive

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


On Thu, Mar 17, 2011 at 7:12 AM, Daniel Silverstone
<dsilvers@digital-scurf.org> wrote:
> On Thu, Mar 17, 2011 at 01:13:13AM -0300, Emmanuel Oga wrote:
>> Hey, I already tried the alternatives provided on the wiki [1]. So far
>> I obtained the best results using the Pepperfish Profiler. The thing
>> is that the output is not very good for my purposes, and before trying
>> to fix that myself I'm wondering if there is already a better pure lua
>> profiler out there (both in the sense of speed and niceness of the
>> output).
>
> Wow, I originally wrote PepperfishProfiler back in 2002.  Tom Spilman and Ben
> Wilhelm looked after it from there.  If you tell me what sort of output,
> functionality etc you're after, then I might be persuaded to have a hack.

Pepperfish profiler was the only one I could use that was pure lua,
working with 5.1, single file, and produced a useful output without
having to hack it in any way.

The problem I have is that the output is too verbose and it is hard to
follow. It would be awesome to produce a dot file for graphviz to
produce the same results as google perf, for instance [1]. Or even
pure text output a little more structured, like ruby-prof does [2],
[3].

1: http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools
2: http://ruby-prof.rubyforge.org/files/examples/flat_txt.html
3: http://ruby-prof.rubyforge.org/files/examples/graph_txt.html

> D.
>
> --
> Daniel Silverstone                         http://www.digital-scurf.org/
> PGP mail accepted and encouraged.            Key Id: 3CCE BABE 206C 3B69
>
>