Jump to content

Manual:FileOpPerfTest.php

From mediawiki.org
MediaWiki version:
1.20

Details

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

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


Terminal

See also