X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fperformance%2Ftest-performance.sh;h=31bb47d8b180d4f7a6d9dbc98671b606e38d8e17;hb=b84246fd4f755e89ebc846521457cfb626faec21;hp=9bc731bc60f1e24d3dfee4bcda86159da5566acc;hpb=d8394559dce40ff40b40525aa68087863efe7c1f;p=svn%2FCll1h%2F.git diff --git a/demos/performance/test-performance.sh b/demos/performance/test-performance.sh index 9bc731b..31bb47d 100755 --- a/demos/performance/test-performance.sh +++ b/demos/performance/test-performance.sh @@ -1,12 +1,16 @@ #!/bin/sh +cat print.rb +echo "Running..." +time ./print.rb > /dev/null + cat print.py echo "Running..." time ./print.py > /dev/null cat cout.cpp echo "Compiling..." -time make cout +time g++ -O4 cout.cpp -o cout echo "Running..." time ./cout > /dev/null @@ -16,24 +20,24 @@ time ./print.pl > /dev/null cat cll1-print.c echo "Compiling..." -time make cll1-print +time gcc -O4 cll1-print.c -o cll1-print echo "Running..." time ./cll1-print > /dev/null cat printf.c echo "Compiling..." -time make printf +time gcc -O4 printf.c -o printf echo "Running..." time ./printf > /dev/null cat puts.c echo "Compiling..." -time make puts +time gcc -O4 puts.c -o puts echo "Running..." time ./puts > /dev/null cat fputs.c echo "Compiling..." -time make fputs +time gcc -O4 fputs.c -o fputs echo "Running..." time ./fputs > /dev/null