docker build -t bluespice/wiki:latest .
The image contains the Excimer profiler, which can be used in production scenarios. To enable it, set _profiler=trace
or _profiler=speedscope
in
- the query string (GET parameter) of the URL
- the POST body of the request
- a cookie
Results will be stored in /data/bluespice/logs
. JSON files can be viewed with the Speedscope viewer. LOG files can be processed with https://github.com/brendangregg/FlameGraph
See https://www.mediawiki.org/wiki/Excimer and https://techblog.wikimedia.org/2021/03/03/profiling-php-in-production-at-scale for details.