X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=demos%2Fperformance%2Ftest-performance2.sh;h=1df237a9b2627f7088cf71afd47dbaf959f353c9;hb=72c9d7a0a7562f1d480c0c023bb15163a7b3f803;hp=50f2eeff07da1353abd47c0c4587720f750e7e2f;hpb=cc0de701b6a1dd6d8c01352888c1be54676cd8e2;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-performance2.sh b/demos/performance/test-performance2.sh index 50f2eef..1df237a 100755 --- a/demos/performance/test-performance2.sh +++ b/demos/performance/test-performance2.sh @@ -1,12 +1,24 @@ #!/bin/sh +cat print2.rb +echo "Running..." +time ./print2.rb > /dev/null + cat print2.py echo "Running..." time ./print2.py > /dev/null +cat xrange2.py +echo "Running..." +time ./xrange2.py > /dev/null + +cat echo2.php +echo "Running..." +time ./echo2.php > /dev/null + cat cout2.cpp echo "Compiling..." -time g++ -O4 cout2.cpp -o cout2 +time g++ -O2 cout2.cpp -o cout2 echo "Running..." time ./cout2 > /dev/null @@ -16,18 +28,18 @@ time ./print2.pl > /dev/null cat cll1-print2.c echo "Compiling..." -time gcc -O4 cll1-print2.c -o cll1-print2 +time gcc -O2 cll1-print2.c -o cll1-print2 echo "Running..." time ./cll1-print2 > /dev/null cat printf2.c echo "Compiling..." -time gcc -O4 printf2.c -o printf2 +time gcc -O2 printf2.c -o printf2 echo "Running..." time ./printf2 > /dev/null cat fputs2.c echo "Compiling..." -time gcc -O4 fputs2.c -o fputs2 +time gcc -O2 fputs2.c -o fputs2 echo "Running..." time ./fputs2 > /dev/null