[Commits] Rev 2887: Use three digits after the decimal point for better resolution and comparability of results. in file:///home/hakan/work/monty_program/maria-5.2-local-master/

Hakan Kuecuekyilmaz hakan.kuecuekyilmaz at t-online.de
Fri Nov 26 19:36:35 EET 2010


At file:///home/hakan/work/monty_program/maria-5.2-local-master/

------------------------------------------------------------
revno: 2887
revision-id: hakan at askmonty.org-20101126173634-u24lresjn0fsj0sr
parent: knielsen at knielsen-hq.org-20101123062607-uydd8xjypfzeedqv
committer: Hakan Kuecuekyilmaz <hakan at askmonty.org>
branch nick: maria-5.2-local-master
timestamp: Fri 2010-11-26 18:36:34 +0100
message:
  Use three digits after the decimal point for better resolution and comparability of results.
-------------- next part --------------
=== modified file 'sql-bench/compare-results.sh'
--- a/sql-bench/compare-results.sh	2009-05-29 13:40:55 +0000
+++ b/sql-bench/compare-results.sh	2010-11-26 17:36:34 +0000
@@ -512,7 +512,7 @@
     else
     {
       $first=1 if ($first == 0); # Assume that it took one second instead of 0
-      $tmp= sprintf("%.2f",$value/$first);
+      $tmp= sprintf("%.3f",$value/$first);
     }
     if (defined($flags))
     {



More information about the commits mailing list