Make BenchmarkPurge subclass benchmark, not really reusing most of the code yet...
authorSam Reed <reedy@users.mediawiki.org>
Fri, 31 Dec 2010 07:13:40 +0000 (07:13 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 31 Dec 2010 07:13:40 +0000 (07:13 +0000)
maintenance/benchmarks/benchmarkPurge.php

index 8360ef8..7eaff8d 100644 (file)
  * @ingroup Maintenance
  */
 
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( dirname( __FILE__ ) . '/Benchmarker.php' );
 
-class BenchmarkPurge extends Maintenance {
+class BenchmarkPurge extends Benchmarker {
 
        public function __construct() {
                parent::__construct();
-               $this->addOption( "count", "How many URLs to feed to Squid for purging", false, true );
                $this->mDescription = "Benchmark the Squid purge functions.";
        }