cvs: php-benchmarks /benchcli bench.php
| From: | Alexander Hjalmarsson | Date: | Wed, 01 Jul 2009 12:31:50 +0000 |
| Subject: | cvs: php-benchmarks /benchcli bench.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65156@lists.php.net to get a copy of this message | ||
hjalle Wed Jul 1 12:31:50 2009 UTC
Modified files:
/php-benchmarks/benchcli bench.php
Log:
Changed to MB instead of mB
http://cvs.php.net/viewvc.cgi/php-benchmarks/benchcli/bench.php?r1=1.8&r2=1.9&diff_format=u
Index: php-benchmarks/benchcli/bench.php
diff -u php-benchmarks/benchcli/bench.php:1.8 php-benchmarks/benchcli/bench.php:1.9
--- php-benchmarks/benchcli/bench.php:1.8 Tue Jun 30 18:14:48 2009
+++ php-benchmarks/benchcli/bench.php Wed Jul 1 12:31:50 2009
@@ -593,7 +593,7 @@
foreach ($results as $result) {
$mem = $result['Private_Clean'] +
$result['Private_Dirty'];
$loruntime = round($result["runtime"],1)."s
(".(round($result["runtime"]/$wintime,2)*100)."%)";
- $lomem = round($mem/1024,1)."mB (".round((($mem/$winmem)),1)*100
."%)";
+ $lomem = round($mem/1024,1)."MB (".round((($mem/$winmem)),1)*100
."%)";
printf("%-15s %-35s %-17s %-15s \n",
$result['php_version'], $result['php_uname'], $loruntime,$lomem);
}
break;