Manual:BenchmarkPurge.php
Appearance
Outdated translations are marked like this.
| Versão do MediaWiki: | ≥ 1.18 |
| Arquivo do MediaWiki: benchmarkPurge.php | |
|---|---|
| Localização: | maintenance/benchmarks/ |
| Código-fonte: | master • 1.44.2 • 1.43.5 • 1.39.15 |
| Classes: | BenchmarkPurge |
Detalhes
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
| Opção/Parâmetro | Descrição | Required? |
|---|---|---|
| --count | Number of titles to do. If not set, does three sets 1, 10, 100. | Optional |
Uso
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)
No MediaWiki versão 1.39.15 e anteriores, você deve invocar os scripts de manutenção usando
php maintenance/scriptName.php em vez de php maintenance/run.php scriptName.