Manual:benchmarkPurge.php
Appearance
| MediaWiki バージョン: | ≧ 1.18 |
| MediaWiki ファイル: benchmarkPurge.php | |
|---|---|
| 場所: | maintenance/benchmarks/ |
| ソース コード: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| クラス: | 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.
オプション/引数
| オプション | 説明 | 必須かどうか |
|---|---|---|
| --count | Number of titles to do. If not set, does three sets 1, 10, 100. | 省略可能 |
使用法
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)
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを
php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。