Visualize profile output in debug toolbar
authorErik Bernhardson <ebernhardson@wikimedia.org>
Sat, 28 Dec 2013 22:08:32 +0000 (14:08 -0800)
committerOri.livneh <ori@wikimedia.org>
Wed, 2 Apr 2014 21:53:51 +0000 (21:53 +0000)
commit99aef03f04b45abe3157d09fddec3286ec1ee672
treef749a5fea415b2f008a2e9c7f50abe125346aae4
parent537fbf210b9a13f36829c493cf062dbabe62225d
Visualize profile output in debug toolbar

This adds a new pane for the debug toolbar labeled Profiler.  It groups
together events sent to wfProfileIn/Out and draws a timeline giving a
visual representation of what the page was doing at a particular point
in time. Hovering over a timeline brings up a flyout about the contained
events.

Depends on I08854d80f57286129f19cb14566f84ed3c7fa21c for proper positioning
of the flyout.

Change-Id: I23a0ce4137abcd74ad87967fb263214c08cb9685
includes/debug/Debug.php
includes/profiler/Profiler.php
includes/profiler/ProfilerStub.php
maintenance/jsduck/categories.json
resources/Resources.php
resources/mediawiki/mediawiki.debug.js
resources/mediawiki/mediawiki.debug.profile.css [new file with mode: 0644]
resources/mediawiki/mediawiki.debug.profile.js [new file with mode: 0644]