Manual:BenchmarkPurge.php/tl
MediaWiki version: | ≥ 1.18 |
MediaWiki file: benchmarkPurge.php | |
---|---|
Location: | maintenance/benchmarks/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | BenchmarkPurge |
Details
benchmarkPurge.php file is a maintenance script to benchmark CDN cache purges.
Wala itong epekto maliban lamang kung ang $wgUseCdn ay naka set sa true
at ang mga server ay naka set sa $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
$ php maintenance/run.php benchmarks/benchmarkPurge 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)
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.