Jump to content

Extension:Speedscope

From mediawiki.org
MediaWiki extensions manual
Speedscope
Release status: beta
Author(s) SomeRandomDevelopertalk
Latest version 1.0.0
MediaWiki 1.45
  • $wgExposeCPUInfo
  • $wgForcedParam
  • $wgPublicEndpoint
  • $wgSamplingRates
  • $wgEndpoint
  • $wgPeriod
  • $wgEnvironment
  • $wgToken
  • $wgExcludedEntryPoints
Licence GNU General Public License 2.0 or later
Download

The Speedscope extension allows generating speedscope profiles for randomly selected requests and for specific requests through a URL parameter.

Installation

[edit]

Note: The php-excimer and php-zlib PHP extensions are required to use the extension.

You also need to host an instance of the speedscope service, which stores and serves the profiles.


  • Download and place the file(s) in a directory called Speedscope in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Speedscope' );
    require_once "$IP/extensions/Speedscope/bootstrap.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]

Please see https://github.com/weirdgloop/mediawiki-extensions-Speedscope#configuration-options for a full list of all configuration variables.

See also

[edit]