Merge "mediawiki.util: Remove outdated comment from unit test"
[lhc/web/wiklou.git] / maintenance / benchmarks / bench_delete_truncate.php
index ea22b6d..8ae4f03 100644 (file)
@@ -29,7 +29,6 @@ require_once __DIR__ . '/Benchmarker.php';
  * @ingroup Benchmark
  */
 class BenchmarkDeleteTruncate extends Benchmarker {
-
        public function __construct() {
                parent::__construct();
                $this->mDescription = "Benchmarks SQL DELETE vs SQL TRUNCATE.";
@@ -76,7 +75,7 @@ class BenchmarkDeleteTruncate extends Benchmarker {
        private function insertData( $dbw ) {
                $range = range( 0, 1024 );
                $data = array();
-               foreach( $range as $r ) {
+               foreach ( $range as $r ) {
                        $data[] = array( 'text' => $r );
                }
                $dbw->insert( 'test', $data, __METHOD__ );