X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fperformance%2Ftest-performance2.sh;h=f4a33ad80673f22a41a81c5560e788bb6dc292dc;hb=b194148d0f20d8e38947a40b2673f481cf0e55ce;hp=ded38de5e888c966715713b2f241cf1cfeb4abb3;hpb=283bc4971907f85920dde9f545b3eb8fd3884a79;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-performance2.sh b/demos/performance/test-performance2.sh index ded38de..f4a33ad 100755 --- a/demos/performance/test-performance2.sh +++ b/demos/performance/test-performance2.sh @@ -2,53 +2,53 @@ cat print2.rb echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./print2.rb > /dev/null +time -f "%E total, %U user, %S sys" ./print2.rb > /dev/null echo cat print2.py echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./print2.py > /dev/null +time -f "%E total, %U user, %S sys" ./print2.py > /dev/null echo cat xrange2.py echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./xrange2.py > /dev/null +time -f "%E total, %U user, %S sys" ./xrange2.py > /dev/null echo cat echo2.php echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./echo2.php > /dev/null +time -f "%E total, %U user, %S sys" ./echo2.php > /dev/null echo cat cout2.cpp echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" g++ -O2 cout2.cpp -o cout2 +time -f "%E total, %U user, %S sys" g++ -O2 cout2.cpp -o cout2 echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./cout2 > /dev/null +time -f "%E total, %U user, %S sys" ./cout2 > /dev/null echo cat print2.pl echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./print2.pl > /dev/null +time -f "%E total, %U user, %S sys" ./print2.pl > /dev/null echo cat printf2.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 printf2.c -o printf2 +time -f "%E total, %U user, %S sys" gcc -O2 printf2.c -o printf2 echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./printf2 > /dev/null +time -f "%E total, %U user, %S sys" ./printf2 > /dev/null echo cat cll1-print2.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 cll1-print2.c -o cll1-print2 +time -f "%E total, %U user, %S sys" gcc -O2 cll1-print2.c -o cll1-print2 echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./cll1-print2 > /dev/null +time -f "%E total, %U user, %S sys" ./cll1-print2 > /dev/null echo cat fputs2.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 fputs2.c -o fputs2 +time -f "%E total, %U user, %S sys" gcc -O2 fputs2.c -o fputs2 echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./fputs2 > /dev/null +time -f "%E total, %U user, %S sys" ./fputs2 > /dev/null echo