Jump to content

Manual:FileOpPerfTest.php

From mediawiki.org
This page is a translated version of the page Manual:FileOpPerfTest.php and the translation is 100% complete.
Versão MediaWiki:
1.20

Detalhes

O arquivo fileOpPerfTest.php é um script de manutenção para testes de performance de operações de arquivos. This script includes files operation tests such as storing, copying, moving, and deleting.

Options/Arguments

Option Description Required?
--b1 Backend 1 Required
--b2 Backend 2 Optional
--srcdir File source directory Required
--maxfiles Max files Optional
--quick Avoid operation pre-checks (use doQuickOperations()) Optional
--parallelize "parallelize" flag for doOperations() Optional

Usage

php maintenance/run.php fileOpPerfTest --b1 backendFirst --srcdir sourceDirectory [ --b2| --maxfiles| --quick| --parallelize ]
Terminal
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.

See also