From 49adb9f5108aa1da63fc1dce90b3d66a83875588 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 31 Dec 2010 07:13:40 +0000 Subject: [PATCH] Make BenchmarkPurge subclass benchmark, not really reusing most of the code yet... --- maintenance/benchmarks/benchmarkPurge.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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."; } -- 2.20.1