Profiler in Callgrind format
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Hello, 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. Seeking this goal, I've started to develop an extension using jsdIDebuggerService, but it's not enough because for callgrind you need a step-by-step execution (horrible for performance) and jsdlDebugger gives you pre-processed information. What do you think? Is it possible to write an specific XPCOM component or improve the actual one? I'm not blaming the current work, works very well for nearly all the projects, but I think that a more powerfull profiler is needed in the today's javascript. Am I crazy? Sorry for my english. I'm trying to improve it. Regards, Sebastián Marconi Links: - Kcachegrind: http://kcachegrind.sourceforge.net/cgi-bin/show.cgi - WinCachegrind: http://sourceforge.net/projects/wincachegrind/ - Callgrind format: http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindCalltreeFormat