- * To use a profiler, copy this file to StartProfiler.php,
- * delete the PHP line above, and add something like this:
+ * To use a profiler, copy this file to StartProfiler.php and add:
+ * $wgProfiler['class'] = 'ProfilerXhprof';
+ *
+ * For output, add:
+ * $wgProfiler['output'] = array( 'text' );
+ * 'text' can be one (or more) of 'text' 'udp' or 'db'
+ * 'db' requires creating the profiling table, see patch-profiling.sql
+ *
+ * The 'text' output will be added to the output page in a comment approriate
+ * to the output's mime type. For a text/html page, this display can be
+ * changed to a preformatted text block by setting the 'visible' configuration
+ * flag:
+ * $wgProfiler['visible'] = true;