Extension:PerformanceMonitor

The PerformanceMonitor extension profiles the work of PHP functions and methods on your server. These "profiles" (i.e. logfiles) are stored as Json-Trees in the file system. After profiling you can use the Special Page Special:PerformanceMonitor to visualise the results as diagrams. The diagrams allow drilling down to more detailed levels and show you, what the f*** the server does all the time you are waiting for it.

Technically the extension uses a javascript library called InfoVis for visualisation, which you have to download seperately and put it inside the extension folder.

Download PerformanceMonitor
The code of this extension will be available for download on MW Gerrit soon. Put it into the folder /extensions/PerformanceMonitor.

Download the InfoVis Toolkit
Download the InfoVis Toolkit from http://philogb.github.io/jit/downloads/Jit-2.0.1.zip and put it inside the /extensions/PerformanceMonitor/js-includes/jit-2.0.1 folder of the extension.

Download Bootstrap Library
Download the InfoVis Toolkit from http://getbootstrap.com/getting-started/ and put it inside the /extensions/PerformanceMonitor/js-includes/bootstrap-3.1.1-dist folder of the extension.

LocalSettings.php
use

instead of

StartProfiler.php
The file StartProfiler.php is located (if it exists) in the main folder of the wiki, i.e. the same as LocalSettings.php. If it exists, comment out the current code and add the following code. Otherwise create it and put the following inside:

What else?

 * possibly add a folder for the logfiles and give the server the rights to access it (the path mentioned in ServerMeinServerImplementation.php)