Jump to content

Handbuch:fileOpPerfTest.php

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Manual:FileOpPerfTest.php and the translation is 19% complete.
MediaWiki Version:
1.20

Details

Die fileOpPerfTest.php-Datei ist ein Wartungskript zum Testen der fileop-Leistung. This script includes files operation tests such as storing, copying, moving, and deleting.

Options/Arguments

Option Description Required?
--b1 Backend 1 Notwendig
--b2 Backend 2 Optional
--srcdir File source directory Notwendig
--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 MediaWiki 1.39 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also