| 1 | #!/bin/sh |
| 2 | |
| 3 | cat print2.py |
| 4 | echo "Running..." |
| 5 | time ./print2.py > /dev/null |
| 6 | |
| 7 | cat cout2.cpp |
| 8 | echo "Compiling..." |
| 9 | time g++ -O4 cout2.cpp -o cout2 |
| 10 | echo "Running..." |
| 11 | time ./cout2 > /dev/null |
| 12 | |
| 13 | cat print2.pl |
| 14 | echo "Running..." |
| 15 | time ./print2.pl > /dev/null |
| 16 | |
| 17 | cat cll1-print2.c |
| 18 | echo "Compiling..." |
| 19 | time gcc -O4 cll1-print2.c -o cll1-print2 |
| 20 | echo "Running..." |
| 21 | time ./cll1-print2 > /dev/null |
| 22 | |
| 23 | cat printf2.c |
| 24 | echo "Compiling..." |
| 25 | time gcc -O4 printf2.c -o printf2 |
| 26 | echo "Running..." |
| 27 | time ./printf2 > /dev/null |
| 28 | |
| 29 | cat fputs2.c |
| 30 | echo "Compiling..." |
| 31 | time gcc -O4 fputs2.c -o fputs2 |
| 32 | echo "Running..." |
| 33 | time ./fputs2 > /dev/null |