From: Sam Reed Date: Fri, 31 Dec 2010 07:13:40 +0000 (+0000) Subject: Make BenchmarkPurge subclass benchmark, not really reusing most of the code yet... X-Git-Tag: 1.31.0-rc.0~32966 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=49adb9f5108aa1da63fc1dce90b3d66a83875588;p=lhc%2Fweb%2Fwiklou.git Make BenchmarkPurge subclass benchmark, not really reusing most of the code yet... --- diff --git a/maintenance/benchmarks/benchmarkPurge.php b/maintenance/benchmarks/benchmarkPurge.php index 8360ef8557..7eaff8d35b 100644 --- a/maintenance/benchmarks/benchmarkPurge.php +++ b/maintenance/benchmarks/benchmarkPurge.php @@ -21,13 +21,12 @@ * @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."; }