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