X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fperformance%2Ftest-performance2.sh;h=b99b9b11959e54f5de8df0671207d911a469ef18;hb=bce4b05df61258229122aa6a77aa67ac96462393;hp=b545771603b3980c30ae6315500075e9da73075d;hpb=06ab91f038972610338e77f4f488c7ef5c132e69;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-performance2.sh b/demos/performance/test-performance2.sh index b545771..b99b9b1 100755 --- a/demos/performance/test-performance2.sh +++ b/demos/performance/test-performance2.sh @@ -1,4 +1,5 @@ #!/bin/bash +echo `grep "model name" /proc/cpuinfo |cut -f 2 -d :` `grep "cpu MHz" /proc/cpuinfo |cut -f 2 -d :` Mhz ` grep "bogomips" /proc/cpuinfo |cut -f 2 -d :` bogomips echo "------------------------------------------------------------- Ruby" cat print2.rb @@ -108,4 +109,3 @@ echo -n "Compiling..." time gcc -O2 fputs2.c -o fputs2 echo -n "Running..." time ./fputs2 > /dev/null -echo