X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fbenchmarks%2Fbench_Wikimedia_base_convert.php;h=c8a9055e428e9e7ac265a76c4d57699a35940e99;hb=08c266e1fdebcc13beb419ea655ca9bc487bc712;hp=439947dad9f4567248584cf91054bc442cfeda8a;hpb=59db24e90bc6027cb8bf2756eb8cb52230d24966;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/benchmarks/bench_Wikimedia_base_convert.php b/maintenance/benchmarks/bench_Wikimedia_base_convert.php index 439947dad9..c8a9055e42 100644 --- 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 ); - $this->bench( array( - array( + $this->bench( [ + [ 'function' => 'Wikimedia\base_convert', - 'args' => array( $number, $inbase, $outbase, 0, true, 'php' ) - ), - array( + 'args' => [ $number, $inbase, $outbase, 0, true, 'php' ] + ], + [ 'function' => 'Wikimedia\base_convert', - 'args' => array( $number, $inbase, $outbase, 0, true, 'bcmath' ) - ), - array( + 'args' => [ $number, $inbase, $outbase, 0, true, 'bcmath' ] + ], + [ 'function' => 'Wikimedia\base_convert', - 'args' => array( $number, $inbase, $outbase, 0, true, 'gmp' ) - ), - ) ); + 'args' => [ $number, $inbase, $outbase, 0, true, 'gmp' ] + ], + ] ); $this->output( $this->getFormattedResults() ); }