PHP bechmarks added
[svn/Cll1h/.git] / demos / performance / test-performance2.sh
index d0ef063b7987090c0eeb8bfa780b333eabd0f7ca..46e4a1d6176a9857c1c137e2fe46f74da97c5329 100755 (executable)
@@ -1,16 +1,20 @@
 #!/bin/sh
 
+cat print2.rb
+echo "Running..."
+time ./print2.rb > /dev/null
+
 cat print2.py
 echo "Running..."
 time ./print2.py > /dev/null
 
-cat print2.rb
+cat echo2.php
 echo "Running..."
-time ./print2.rb > /dev/null
+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
 
@@ -20,18 +24,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
This page took 0.116134 seconds and 4 git commands to generate.