dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix StatusValue::setResult phpdoc typo"
[lhc/web/wiklou.git]
/
maintenance
/
benchmarks
/
bench_Wikimedia_base_convert.php
diff --git
a/maintenance/benchmarks/bench_Wikimedia_base_convert.php
b/maintenance/benchmarks/bench_Wikimedia_base_convert.php
index
439947d
..
c8a9055
100644
(file)
--- a/
maintenance/benchmarks/bench_Wikimedia_base_convert.php
+++ b/
maintenance/benchmarks/bench_Wikimedia_base_convert.php
@@
-46,20
+46,20
@@
class BenchWikimediaBaseConvert extends Benchmarker {
$length = $this->getOption( "length", 128 );
$number = self::makeRandomNumber( $inbase, $length );
$length = $this->getOption( "length", 128 );
$number = self::makeRandomNumber( $inbase, $length );
- $this->bench(
array(
- array(
+ $this->bench(
[
+ [
'function' => 'Wikimedia\base_convert',
'function' => 'Wikimedia\base_convert',
- 'args' =>
array( $number, $inbase, $outbase, 0, true, 'php' )
-
)
,
- array(
+ 'args' =>
[ $number, $inbase, $outbase, 0, true, 'php' ]
+
]
,
+ [
'function' => 'Wikimedia\base_convert',
'function' => 'Wikimedia\base_convert',
- 'args' =>
array( $number, $inbase, $outbase, 0, true, 'bcmath' )
-
)
,
- array(
+ 'args' =>
[ $number, $inbase, $outbase, 0, true, 'bcmath' ]
+
]
,
+ [
'function' => 'Wikimedia\base_convert',
'function' => 'Wikimedia\base_convert',
- 'args' =>
array( $number, $inbase, $outbase, 0, true, 'gmp' )
-
)
,
-
)
);
+ 'args' =>
[ $number, $inbase, $outbase, 0, true, 'gmp' ]
+
]
,
+
]
);
$this->output( $this->getFormattedResults() );
}
$this->output( $this->getFormattedResults() );
}