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


Terminal

See also

[edit]