dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6155b
)
Make BenchmarkPurge subclass benchmark, not really reusing most of the code yet...
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 31 Dec 2010 07:13:40 +0000
(07:13 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 31 Dec 2010 07:13:40 +0000
(07:13 +0000)
maintenance/benchmarks/benchmarkPurge.php
patch
|
blob
|
history
diff --git
a/maintenance/benchmarks/benchmarkPurge.php
b/maintenance/benchmarks/benchmarkPurge.php
index
8360ef8
..
7eaff8d
100644
(file)
--- 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.";
}