Doesn't compile 5 times for the five execution.
authoralpar
Wed, 21 Jul 2004 17:40:36 +0000
changeset 7237ded6acc2dfe
parent 722 be8712e1fe07
child 724 1fa2a88e2b50
Doesn't compile 5 times for the five execution.
src/benchmark/benchmark
     1.1 --- a/src/benchmark/benchmark	Wed Jul 21 17:39:49 2004 +0000
     1.2 +++ b/src/benchmark/benchmark	Wed Jul 21 17:40:36 2004 +0000
     1.3 @@ -3,7 +3,11 @@
     1.4  function runtest () # prefix, prog, args
     1.5  {
     1.6      echo $1 1>&2
     1.7 -    $2 $3 $4 $5 $6 $7 $8 $9|awk '{print "'$1'",$0}'
     1.8 +    for ((i=1;i<5;i++))
     1.9 +      do
    1.10 +      $2 $3 $4 $5 $6 $7 $8 $9;
    1.11 +    done |
    1.12 +    awk '{print "'$1'",$0}'
    1.13  }
    1.14  
    1.15  function runalltest() #postfix, CXX, CXXFLAGS