updated: performance tests compiled with -O4 (even better results for C<<1 !)
[svn/Cll1h/.git] / demos / performance / test-performance2.sh
index d35482655444f0c7eddd1eede52b023eebb32013..50f2eeff07da1353abd47c0c4587720f750e7e2f 100755 (executable)
@@ -6,7 +6,7 @@ time ./print2.py > /dev/null
 
 cat cout2.cpp
 echo "Compiling..."
-time make cout2
+time g++ -O4 cout2.cpp -o cout2
 echo "Running..."
 time ./cout2 > /dev/null
 
@@ -16,18 +16,18 @@ time ./print2.pl > /dev/null
 
 cat cll1-print2.c
 echo "Compiling..."
-time make cll1-print2
+time gcc -O4 cll1-print2.c -o cll1-print2
 echo "Running..."
 time ./cll1-print2 > /dev/null
 
 cat printf2.c
 echo "Compiling..."
-time make printf2
+time gcc -O4 printf2.c -o printf2
 echo "Running..."
 time ./printf2 > /dev/null
 
 cat fputs2.c
 echo "Compiling..."
-time make fputs2
+time gcc -O4 fputs2.c -o fputs2
 echo "Running..."
 time ./fputs2 > /dev/null
This page took 0.096317 seconds and 4 git commands to generate.