Manual:BenchmarkPurge.php

MediaWiki version:
1.18
Category:MediaWiki code#BenchmarkPurge.php

Details

benchmarkPurge.php file is a maintenance script to benchmark CDN cache purges. Naturally it has no effect unless $wgUseCdn is set to true and servers have been defined in $wgCdnServers.

Options/Arguments

Option Description Required?
--count Number of titles to do. If not set, does three sets 1, 10, 100.Optional

Usage

php maintenance/run.php benchmarks/benchmarkPurge [ --count ]
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

Category:Maintenance scripts#BenchmarkPurge.php Category:Benchmark maintenance scripts
Category:Benchmark maintenance scripts Category:Maintenance scripts Category:MediaWiki code