facelift, reordered results
[svn/Cll1h/.git] / demos / performance / test-performance2.sh
1 #!/bin/sh
2
3 cat print2.rb
4 echo -n "Running..."
5 time -f "%E total, %U user, %S sys, %t KB average size" ./print2.rb > /dev/null
6 echo
7
8 cat print2.py
9 echo -n "Running..."
10 time -f "%E total, %U user, %S sys, %t KB average size" ./print2.py > /dev/null
11 echo
12
13 cat xrange2.py
14 echo -n "Running..."
15 time -f "%E total, %U user, %S sys, %t KB average size" ./xrange2.py > /dev/null
16 echo
17
18 cat echo2.php
19 echo -n "Running..."
20 time -f "%E total, %U user, %S sys, %t KB average size" ./echo2.php > /dev/null
21 echo
22
23 cat cout2.cpp
24 echo -n "Compiling..."
25 time -f "%E total, %U user, %S sys, %t KB average size" g++ -O2 cout2.cpp -o cout2
26 echo -n "Running..."
27 time -f "%E total, %U user, %S sys, %t KB average size" ./cout2 > /dev/null
28 echo
29
30 cat print2.pl
31 echo -n "Running..."
32 time -f "%E total, %U user, %S sys, %t KB average size" ./print2.pl > /dev/null
33 echo
34
35 cat printf2.c
36 echo -n "Compiling..."
37 time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 printf2.c -o printf2
38 echo -n "Running..."
39 time -f "%E total, %U user, %S sys, %t KB average size" ./printf2 > /dev/null
40 echo
41
42 cat cll1-print2.c
43 echo -n "Compiling..."
44 time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 cll1-print2.c -o cll1-print2
45 echo -n "Running..."
46 time -f "%E total, %U user, %S sys, %t KB average size" ./cll1-print2 > /dev/null
47 echo
48
49 cat fputs2.c
50 echo -n "Compiling..."
51 time -f "%E total, %U user, %S sys, %t KB average size" gcc -O2 fputs2.c -o fputs2
52 echo -n "Running..."
53 time -f "%E total, %U user, %S sys, %t KB average size" ./fputs2 > /dev/null
54 echo
This page took 0.357649 seconds and 4 git commands to generate.