Jump to content

Manual:fileOpPerfTest.php

From mediawiki.org
MediaWiki version:
1.20

Details

[edit]

fileOpPerfTest.php file is a maintenance script to test fileop performance. This script includes files operation tests such as storing, copying, moving, and deleting.

Options/Arguments

[edit]
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

[edit]
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

[edit]