X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fperformance%2Ftest-performance.sh;h=de36065d590cbd5acb2b858794da125d63f6df07;hb=b194148d0f20d8e38947a40b2673f481cf0e55ce;hp=de10bad2c0c54063b38bec89448999402d3e242a;hpb=283bc4971907f85920dde9f545b3eb8fd3884a79;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-performance.sh b/demos/performance/test-performance.sh index de10bad..de36065 100755 --- a/demos/performance/test-performance.sh +++ b/demos/performance/test-performance.sh @@ -2,59 +2,59 @@ cat print.rb echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./print.rb > /dev/null +time -f "%E total, %U user, %S sys" ./print.rb > /dev/null echo cat print.py echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./print.py > /dev/null +time -f "%E total, %U user, %S sys" ./print.py > /dev/null echo cat xrange.py echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./xrange.py > /dev/null +time -f "%E total, %U user, %S sys" ./xrange.py > /dev/null echo cat echo.php echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./echo.php > /dev/null +time -f "%E total, %U user, %S sys" ./echo.php > /dev/null echo cat print.pl echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./print.pl > /dev/null +time -f "%E total, %U user, %S sys" ./print.pl > /dev/null echo cat cout.cpp echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" g++ -O2 cout.cpp -o cout +time -f "%E total, %U user, %S sys" g++ -O2 cout.cpp -o cout echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./cout > /dev/null +time -f "%E total, %U user, %S sys" ./cout > /dev/null echo cat cll1-print.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 cll1-print.c -o cll1-print +time -f "%E total, %U user, %S sys" gcc -O2 cll1-print.c -o cll1-print echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./cll1-print > /dev/null +time -f "%E total, %U user, %S sys" ./cll1-print > /dev/null echo cat printf.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 printf.c -o printf +time -f "%E total, %U user, %S sys" gcc -O2 printf.c -o printf echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./printf > /dev/null +time -f "%E total, %U user, %S sys" ./printf > /dev/null echo cat puts.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 puts.c -o puts +time -f "%E total, %U user, %S sys" gcc -O2 puts.c -o puts echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./puts > /dev/null +time -f "%E total, %U user, %S sys" ./puts > /dev/null echo cat fputs.c echo -n "Compiling..." -time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 fputs.c -o fputs +time -f "%E total, %U user, %S sys" gcc -O2 fputs.c -o fputs echo -n "Running..." -time -f "%E total, %U user, %S sys, %t KB average size" ./fputs > /dev/null +time -f "%E total, %U user, %S sys" ./fputs > /dev/null