== What ==

Flamegraphs provide insight to where and how your MediaWiki component or extension spends its time. We instrument real web requests on the MediaWiki app servers at WMF (using php-excimer, a low-overhead sampling profiler) and continually publish interactive SVG visuals by entrypoint (e.g. index.php, JobQueue, ResourceLoader load.php, or rest.php API). [1] [2]

Read more about the Arc Lamp pipeline, introduced by Ori during the 2014 HHVM migration [3], through our blog post:
https://techblog.wikimedia.org/2021/03/03/profiling-php-in-production-at-scale/

== What's New ==

The user interface at https://performance.wikimedia.org/php-profiling/ has undergone major changes.


== How ==

The new interface is an HTML form with vanilla JavaScript to navigate you to the right SVG.
Details at https://gerrit.wikimedia.org/r/c/performance/docroot/+/908374.

As before, we promote "good" defaults. You don't have to make any choices to start exploring the data. Press the big blue button to instantly view the most recent index.php flamegraph with the default settings.

--
Timo Tijhof,
Performance Team,
Wikimedia Foundation.

[1] https://wikitech.wikimedia.org/wiki/Performance/Runbook/Arc_Lamp_service
[2] https://www.mediawiki.org/wiki/Excimer
[3] https://techblog.wikimedia.org/2014/12/29/how-we-made-editing-wikipedia-twice-as-fast/