Manual: BenchmarkPurge.php
Appearance
| Versão MediaWiki: | ≥ 1.18 |
| Ficheiro do MediaWiki: benchmarkPurge.php | |
|---|---|
| Localização: | maintenance/benchmarks/ |
| Código fonte: | master • 1.44.2 • 1.43.5 • 1.39.15 |
| Classes: | BenchmarkPurge |
Detalhes
O ficheiro benchmarkPurge.php é um comando de manutenção para das limpezas de cache CDN.
Naturalmente, não tem efeito, a menos que $wgUseCdn esteja definido como true e os servidores tenham sido definidos em $wgCdnServers.
Opções/Argumentos
| Opção | Descrição | Obrigatório? |
|---|---|---|
| --count | Número de títulos a criar. Se não estiver definido, três conjuntos 1, 10, 100. | Optional |
Utilização
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.15 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.