MediaWiki
REL1_20
|
Maintenance script to test fileop performance. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
Protected Member Functions | |
doPerfTest (FileBackend $backend) |
Maintenance script to test fileop performance.
Definition at line 35 of file fileOpPerfTest.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 36 of file fileOpPerfTest.php.
References Maintenance\addOption().
TestFileOpPerformance::doPerfTest | ( | FileBackend $ | backend | ) | [protected] |
Definition at line 60 of file fileOpPerfTest.php.
References $dir, $file, FileBackend\getName(), Maintenance\getOption(), Maintenance\hasOption(), Maintenance\output(), FileBackend\prepare(), and wfBaseName().
Referenced by execute().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 46 of file fileOpPerfTest.php.
References doPerfTest(), Maintenance\getOption(), Profiler\instance(), and FileBackendGroup\singleton().