X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fperformance%2Ftest-performance2.sh;h=4b5e95181bac706e8110ddfb8f2e4397eba9f4ff;hb=bd245bd28cfdcb642e2b341aef366e020b7034d7;hp=7298303f185eb9ba3c3e6b5c2250f8c45020484d;hpb=c3eef81ff1a2fff494c9064196510e9fa22e23fb;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-performance2.sh b/demos/performance/test-performance2.sh index 7298303..4b5e951 100755 --- a/demos/performance/test-performance2.sh +++ b/demos/performance/test-performance2.sh @@ -10,7 +10,7 @@ time ./print2.py > /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 @@ -20,18 +20,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