MediaWiki
REL1_22
|
Maintenance script that benchmarks SQL DELETE vs SQL TRUNCATE. More...
Public Member Functions | |
__construct () | |
execute () | |
Private Member Functions | |
delete ($dbw) | |
insertData ($dbw) | |
truncate ($dbw) |
Maintenance script that benchmarks SQL DELETE vs SQL TRUNCATE.
Definition at line 31 of file bench_delete_truncate.php.
Reimplemented from Benchmarker.
Definition at line 33 of file bench_delete_truncate.php.
BenchmarkDeleteTruncate::delete | ( | $ | dbw | ) | [private] |
Reimplemented from Maintenance.
Definition at line 38 of file bench_delete_truncate.php.
References $test, insertData(), truncate(), and wfGetDB().
BenchmarkDeleteTruncate::insertData | ( | $ | dbw | ) | [private] |
$dbw | DatabaseBase |
Definition at line 76 of file bench_delete_truncate.php.
Referenced by execute().
BenchmarkDeleteTruncate::truncate | ( | $ | dbw | ) | [private] |
$dbw | DatabaseBase |
Definition at line 97 of file bench_delete_truncate.php.
References $test.
Referenced by execute().