perforamnce test for printing one and two strings in C,C++,C<<1,Perl and Python
[svn/Cll1h/.git] / demos / performance / test-performance
index 8a69facdeb3f0c0367206240c6c757bdcba5d511..df89664f726789ba4e0b8340d09de0a8adf7471f 100755 (executable)
@@ -1,24 +1,34 @@
 #!/bin/sh
-make cll1-print
-make printf
-make puts
-make fputs
 clear
+
 cat print.py
 echo "Running..."
 time ./print.py > /dev/null
+
 cat print.pl
 echo "Running..."
 time ./print.pl > /dev/null
+
 cat cll1-print.c
+echo "Compiling..."
+time make cll1-print
 echo "Running..."
 time ./cll1-print > /dev/null
+
 cat printf.c
+echo "Compiling..."
+time make printf
 echo "Running..."
 time ./printf > /dev/null
+
 cat puts.c
+echo "Compiling..."
+time make puts
 echo "Running..."
 time ./puts > /dev/null
+
 cat fputs.c
+echo "Compiling..."
+make fputs
 echo "Running..."
 time ./fputs > /dev/null
This page took 0.126859 seconds and 4 git commands to generate.