Re: Profiler in Callgrind format
"timeless" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
On Dec 12, 11:19 pm, "[email protected]" <[email protected]> wrote: > I'm a co-developer of (yet another) a web framework...Being mainly a > server-side programmer, after profiling the execution using Venkman > (and now also the great firebug1.0 feature) I miss the visualization > quality of tools like KCacheGrind or WinCacheGrind that uses the > Callgrind Format. We have a lot of classes and complex (ajax) things, > and the tabular output doesn't fit very well (this kind of framework > may be useless, but there's where we and thousands are) you can't > follow specific threads of execution, you don't know who the callers > and calles are, even the memory consumption is missed. There's a patch floating around that allows you to watch object size and such. It's in a bug reporter=timeless,assignee=timeless It basically works and just needs someone to help me drive it into cvs (i don't actively drive bugs, i write patches and move on to other problems). As for your core problem, well, writing something that single steps using jsdI shouldn't be impossible, although I'd expect it not to be much fun, and I'd recommend you configure it to ignore scripts it isn't supposed to profile so that your system has some chance of running. Note that James Ross essentially owns the Venkman UI. He's essentially more of an owner than I am. I can be seen as having adopted jsdb which is a GUI free tool, on average atm when it comes to debugging stuff i've hacked at lower layers. (Which isn't to say that i haven't hacked Venkman - because whenever I try to say I don't do something it turns me into a liar.)