MediaWiki version: | ≥ 1.18 |
MediaWiki file: | benchmarkPurge.php|
---|---|
Location: | maintenance/benchmarks/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | BenchmarkPurge |
Details
benchmarkPurge.php file is a maintenance script to benchmark CDN cache purges.
Naturally it has no effect unless $wgUseCdn ($wgUseSquid prior to 1.34) is set to true
and servers have been defined in $wgCdnServers ($wgSquidServers prior to 1.34).
Options/Arguments
Option | Description | Required? |
---|---|---|
--count | Number of titles to do. If not set, does three sets 1, 10, 100. | Optional |
Usage
php php maintenance/benchmarks/benchmarkPurge.php [ --count ]
Terminal
$ php maintenance/benchmarks/benchmarkPurge.php There are 1 defined CDN servers: 1 titles in 3.63ms ( 3.63ms each) 10 titles in 1.52ms ( 0.15ms each) 100 titles in 8.03ms ( 0.08ms each)
See also
- Manual:BenchmarkHooks.php
- Manual:BenchmarkParse.php
- wikitech:Performance/Guides/Measure backend performance#Benchmarking
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.