Merge "mediawiki.searchSuggest: Show full article title as a tooltip for each suggestion"
[lhc/web/wiklou.git] / maintenance / benchmarks / bench_HTTP_HTTPS.php
index fa76ae2..bb7499b 100644 (file)
  * @author  Platonides
  */
 
-require_once( __DIR__ . '/Benchmarker.php' );
+require_once __DIR__ . '/Benchmarker.php';
 
 /**
  * Maintenance script that benchmarks HTTP request vs HTTPS request.
  *
  * @ingroup Benchmark
  */
-class bench_HTTP_HTTPS extends Benchmarker {
-
+class BenchHttpHttps extends Benchmarker {
        public function __construct() {
                parent::__construct();
                $this->mDescription = "Benchmark HTTP request vs HTTPS request.";
@@ -42,7 +41,7 @@ class bench_HTTP_HTTPS extends Benchmarker {
                $this->bench( array(
                        array( 'function' => array( $this, 'getHTTP' ) ),
                        array( 'function' => array( $this, 'getHTTPS' ) ),
-               ));
+               ) );
                print $this->getFormattedResults();
        }
 
@@ -61,5 +60,5 @@ class bench_HTTP_HTTPS extends Benchmarker {
        }
 }
 
-$maintClass = 'bench_HTTP_HTTPS';
-require_once( RUN_MAINTENANCE_IF_MAIN );
+$maintClass = 'BenchHttpHttps';
+require_once RUN_MAINTENANCE_IF_MAIN;