420bb771 |
1 | #!/bin/sh |
81088cec |
2 | |
b84246fd |
3 | cat print.rb |
283bc497 |
4 | echo -n "Running..." |
e1fbb836 |
5 | time -f "%E total, %U user, %S sys, %F page faults" ./print.rb > /dev/null |
283bc497 |
6 | echo |
b84246fd |
7 | |
420bb771 |
8 | cat print.py |
283bc497 |
9 | echo -n "Running..." |
e1fbb836 |
10 | time -f "%E total, %U user, %S sys, %F page faults" ./print.py > /dev/null |
283bc497 |
11 | echo |
81088cec |
12 | |
72c9d7a0 |
13 | cat xrange.py |
283bc497 |
14 | echo -n "Running..." |
e1fbb836 |
15 | time -f "%E total, %U user, %S sys, %F page faults" ./xrange.py > /dev/null |
283bc497 |
16 | echo |
72c9d7a0 |
17 | |
ba41861f |
18 | cat echo.php |
283bc497 |
19 | echo -n "Running..." |
e1fbb836 |
20 | time -f "%E total, %U user, %S sys, %F page faults" ./echo.php > /dev/null |
283bc497 |
21 | echo |
d8394559 |
22 | |
67db9ef1 |
23 | cat write.c |
24 | echo -n "Compiling..." |
e1fbb836 |
25 | time -f "%E total, %U user, %S sys, %F page faults" gcc -O2 write.c -o write |
67db9ef1 |
26 | echo -n "Running..." |
e1fbb836 |
27 | time -f "%E total, %U user, %S sys, %F page faults" ./write > /dev/null |
67db9ef1 |
28 | |
420bb771 |
29 | cat print.pl |
283bc497 |
30 | echo -n "Running..." |
e1fbb836 |
31 | time -f "%E total, %U user, %S sys, %F page faults" ./print.pl > /dev/null |
283bc497 |
32 | echo |
81088cec |
33 | |
ba41861f |
34 | cat cout.cpp |
283bc497 |
35 | echo -n "Compiling..." |
e1fbb836 |
36 | time -f "%E total, %U user, %S sys, %F page faults" g++ -O2 cout.cpp -o cout |
283bc497 |
37 | echo -n "Running..." |
e1fbb836 |
38 | time -f "%E total, %U user, %S sys, %F page faults" ./cout > /dev/null |
ba41861f |
39 | |
283bc497 |
40 | echo |
420bb771 |
41 | cat cll1-print.c |
283bc497 |
42 | echo -n "Compiling..." |
e1fbb836 |
43 | time -f "%E total, %U user, %S sys, %F page faults" gcc -O2 cll1-print.c -o cll1-print |
283bc497 |
44 | echo -n "Running..." |
e1fbb836 |
45 | time -f "%E total, %U user, %S sys, %F page faults" ./cll1-print > /dev/null |
283bc497 |
46 | echo |
81088cec |
47 | |
420bb771 |
48 | cat printf.c |
283bc497 |
49 | echo -n "Compiling..." |
e1fbb836 |
50 | time -f "%E total, %U user, %S sys, %F page faults" gcc -O2 printf.c -o printf |
283bc497 |
51 | echo -n "Running..." |
e1fbb836 |
52 | time -f "%E total, %U user, %S sys, %F page faults" ./printf > /dev/null |
283bc497 |
53 | echo |
81088cec |
54 | |
420bb771 |
55 | cat puts.c |
283bc497 |
56 | echo -n "Compiling..." |
e1fbb836 |
57 | time -f "%E total, %U user, %S sys, %F page faults" gcc -O2 puts.c -o puts |
283bc497 |
58 | echo -n "Running..." |
e1fbb836 |
59 | time -f "%E total, %U user, %S sys, %F page faults" ./puts > /dev/null |
283bc497 |
60 | echo |
e1fbb836 |
61 | |
62 | cat fputs.c |
63 | echo -n "Compiling..." |
64 | time -f "%E total, %U user, %S sys, %F page faults" gcc -O2 fputs.c -o fputs |
65 | echo -n "Running..." |
66 | time -f "%E total, %U user, %S sys, %F page faults" ./fputs > /dev/null |
67 | echo |
68 | |
69 | cat fwrite.c |
70 | echo -n "Compiling..." |
71 | time -f "%E total, %U user, %S sys, %F page faults" gcc -O2 fwrite.c -o fwrite |
72 | echo -n "Running..." |
73 | time -f "%E total, %U user, %S sys, %F page faults" ./fwrite > /dev/null |