Manual:fileOpPerfTest.php

From Linux Web Expert

Revision as of 04:51, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.20
<translate> MediaWiki version:</translate>

詳細

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 <translate> Required</translate>
--b2 Backend 2 <translate> Optional</translate>
--srcdir File source directory <translate> Required</translate>
--maxfiles Max files <translate> Optional</translate>
--quick Avoid operation pre-checks (use doQuickOperations()) <translate> Optional</translate>
--parallelize "parallelize" flag for doOperations() <translate> Optional</translate>

Usage

php maintenance/fileOpPerfTest.php --b1 backendFirst --srcdir sourceDirectory [ --b2| --maxfiles| --quick| --parallelize ]


Terminal

See also