A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgProfiler below:

Manual:$wgProfiler - MediaWiki

Settings related to profiling.
Introduced in version: 1.8.0 Removed in version: Still in use Allowed values: (associative array) Default value: []

This setting is used to configure profiling of your MediaWiki installation.

For the available keys see Manual:Profiling . They include:

'class'
E.g. ProfilerXhprof provides an Xhprof-backed profiler. There is also ProfilerExcimer which works with Excimer .
'output'
Define one or multiple output methods. For multiple output methods at the same time, use an array of class names, one for each output type you want the profiler to generate. For example use the "ProfilerOutputText" profiler. The output classes available to you by default are: ProfilerOutputDump, ProfilerOutputStats, ProfilerOutputText.
'visible'
true or false. If true, output is displayed in HTML rendering (and not only in a comment).
'sampling'
Positive integer. Profile every nth request.

For performance, the profiler is always disabled for CLI scripts as they could be long running and the data would accumulate. Use the '--profiler' parameter of maintenance scripts to override this.

For a rudimentary debug profiler:

$wgProfiler= [
  'class' => ProfilerXhprof::class,
  'output' => ProfilerOutputText::class,
];

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4