Manual:BenchmarkPurge.php/ko
Appearance
| 미디어위키 버전: | ≥ 1.18 |
| 미디어위키 파일: benchmarkPurge.php | |
|---|---|
| 위치: | maintenance/benchmarks/ |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | BenchmarkPurge |
상세
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.
옵션/인수
| Option | Description | Required? |
|---|---|---|
| --count | Number of titles to do. If not set, does three sets 1, 10, 100. | Optional |
사용법
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 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.