On Jun 10, 11:10 am, Jürg Lehni <[email protected]> wrote:
> I know that Hannes Wallnoerfer has done some impressive work for a profiler 
> in RingoJS:
>
> http://ringojs.org/wiki/
>
> He is also on this list and will probably be able to tell you more.

Well, we have a simple profiler in Ringo, but it's also based on the
debugger interface and hence doesn't work on compiled code:

http://github.com/ringo/ringojs/blob/master/modules/ringo/profiler.js

I think it would actually be nice to be able to profile optimized
Rhino code. The full debugger interface is probably too heavy to
implement in optimized code, but maybe we could implement a reduced
interface optimized for tracing and profiling that only calls on
function enter/exit but not line change number? I have no idea how
hard that would be, but I can look into it the next time I spend some
time with Rhino bytecode generation.

Hannes

> Jürg
>
> On 10 Jun 2010, at 03:37, Simon Kaegi wrote:
>
> > We've added support for debugging Rhino in Eclipse JSDT however we're now
> > being asked about support for profiling your JavaScript running under Rhino.
>
> > Is anyone aware of any previous work done with Rhino to support JavaScript
> > "profiling"?
> > Is there any support built into Rhino that we might be able to build our own
> > "timing"support on?
> > Thanks.
>
> > -Simon
>
> > _______________________________________________
> > dev-tech-js-engine-rhino mailing list
> > [email protected]
> >https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to