Thanks a lot for your answers. I wanted to make sure there's no "official MW way". Now I know :)
Cheers, Markus
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Chad Gesendet: Dienstag, 31. Januar 2012 14:52 An: Wikimedia developers Betreff: Re: [Wikitech-l] JavaScript profiling
On Tue, Jan 31, 2012 at 8:38 AM, Roan Kattouw roan.kattouw@gmail.com wrote:
On Tue, Jan 31, 2012 at 2:18 PM, Markus Glaser glaser@hallowelt.biz wrote:
Hi all,
I am trying to profile the JavaScript bit of an extension I maintain. Is there any recommended method similar to wfProfileIn/Out in MediaWiki? How do you do profiling on ResourceLoader?
There is no MediaWiki-side support for JS profiling. However, most JS debugging tools in browsers provide function-level JS profiling. I know for a fact that Firebug (a Firefox extension that provides a JS debugger and console) does.
The developer tools built into Chrome also have this feature.
-Chad
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l