Manual:Profiling/Xhprof

Starting with MediaWiki 1.25, you can use xhprof to profile code. You can install the pecl package or see if your distribution has a package for xhprof. HHVM has xhprof built in.

TODO Document:
 * How to control which functions are profiled/ignored
 * Scoped sub-section profiling
 * Links to upstream bugs

Configuration
An example StartProfiler.php file: