GIT.Harvie.CZ
/
svn
/
Cll1h
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update performance test
[svn/Cll1h/.git]
/
demos
/
performance
/
test-performance.sh
diff --git
a/demos/performance/test-performance.sh
b/demos/performance/test-performance.sh
index de36065d590cbd5acb2b858794da125d63f6df07..cadcbfd1090bbd372f64dfce284479449ce3cb70 100755
(executable)
--- a/
demos/performance/test-performance.sh
+++ b/
demos/performance/test-performance.sh
@@
-2,59
+2,59
@@
cat print.rb
echo -n "Running..."
cat print.rb
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./print.rb > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./print.rb > /dev/null
echo
cat print.py
echo -n "Running..."
echo
cat print.py
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./print.py > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./print.py > /dev/null
echo
cat xrange.py
echo -n "Running..."
echo
cat xrange.py
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./xrange.py > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./xrange.py > /dev/null
echo
cat echo.php
echo -n "Running..."
echo
cat echo.php
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./echo.php > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./echo.php > /dev/null
echo
echo
+cat write.c
+echo -n "Compiling..."
+time -f "%E total, %U user, %S sys, %O outputs" gcc -O2 write.c -o write
+echo -n "Running..."
+time -f "%E total, %U user, %S sys, %O outputs" ./write > /dev/null
+
cat print.pl
echo -n "Running..."
cat print.pl
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./print.pl > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./print.pl > /dev/null
echo
cat cout.cpp
echo -n "Compiling..."
echo
cat cout.cpp
echo -n "Compiling..."
-time -f "%E total, %U user, %S sys" g++ -O2 cout.cpp -o cout
+time -f "%E total, %U user, %S sys
, %O outputs
" g++ -O2 cout.cpp -o cout
echo -n "Running..."
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./cout > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./cout > /dev/null
echo
cat cll1-print.c
echo -n "Compiling..."
echo
cat cll1-print.c
echo -n "Compiling..."
-time -f "%E total, %U user, %S sys" gcc -O2 cll1-print.c -o cll1-print
+time -f "%E total, %U user, %S sys
, %O outputs
" gcc -O2 cll1-print.c -o cll1-print
echo -n "Running..."
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./cll1-print > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./cll1-print > /dev/null
echo
cat printf.c
echo -n "Compiling..."
echo
cat printf.c
echo -n "Compiling..."
-time -f "%E total, %U user, %S sys" gcc -O2 printf.c -o printf
+time -f "%E total, %U user, %S sys
, %O outputs
" gcc -O2 printf.c -o printf
echo -n "Running..."
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./printf > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./printf > /dev/null
echo
cat puts.c
echo -n "Compiling..."
echo
cat puts.c
echo -n "Compiling..."
-time -f "%E total, %U user, %S sys" gcc -O2 puts.c -o puts
+time -f "%E total, %U user, %S sys
, %O outputs
" gcc -O2 puts.c -o puts
echo -n "Running..."
echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./puts > /dev/null
+time -f "%E total, %U user, %S sys
, %O outputs
" ./puts > /dev/null
echo
echo
-
-cat fputs.c
-echo -n "Compiling..."
-time -f "%E total, %U user, %S sys" gcc -O2 fputs.c -o fputs
-echo -n "Running..."
-time -f "%E total, %U user, %S sys" ./fputs > /dev/null
This page took
0.217467 seconds
and
4
git commands to generate.