Open main menu
MediaWiki extensions manual
OOjs UI icon advanced.svg
Excimer
Release status: beta
License No license specified
Download https://github.com/wikimedia/mediawiki-php-excimer
Translate the Excimer extension if it is available at translatewiki.net

Excimer is a PHP 7.1+ extension that provides a non-static, non-global profiler for PHP. It is intended as a replacement for Xhprof. More details can be found at phab:T205059 (TODO: Move that design documentation here).

InstallationEdit

Download the source code into an appropriate directory from git:

git clone https://gerrit.wikimedia.org/r/mediawiki/php/excimer.git

Or download a snapshot and unpack.

BuildEdit

excimer here is the directory that excimer git repository was cloned to.

cd excimer
phpize && ./configure && make && sudo make install

Then add extension=excimer.so to the PHP configuration in an appropriate place. For example, in modern Debian-derived distributions you'd add a file to /etc/php/$version/mods-available (where $version is the version of PHP for which you compiled Excimer) and use the phpenmod command to enable it.

External linksEdit