<?php
/**
- * To use a profiler, copy this file to StartProfiler.php,
- * and add either:
- * $wgProfiler['class'] = 'ProfilerStandard';
- * or
+ * To use a profiler, copy this file to StartProfiler.php and add:
* $wgProfiler['class'] = 'ProfilerXhprof';
*
* For output, add:
* maintenance/archives/patch-profiling.sql to your database.
*
* For a rudimentary sampling profiler:
- * $wgProfiler['class'] = 'ProfilerStandard';
+ * $wgProfiler['class'] = 'ProfilerXhprof';
* $wgProfiler['output'] = array( 'db' );
* $wgProfiler['sampling'] = 50; // one every 50 requests
* This will use ProfilerStub for non-sampled cases.