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
Python range vs. xrange comparison added
[svn/Cll1h/.git]
/
demos
/
performance
/
test-performance.sh
diff --git
a/demos/performance/test-performance.sh
b/demos/performance/test-performance.sh
index 45b5675ff75a0cfdf3aaca32e1422a3b5e363d81..a31b74a7b6ced99b15064c9a81e936ff14ebd626 100755
(executable)
--- a/
demos/performance/test-performance.sh
+++ b/
demos/performance/test-performance.sh
@@
-1,39
+1,51
@@
#!/bin/sh
#!/bin/sh
+cat print.rb
+echo "Running..."
+time ./print.rb > /dev/null
+
cat print.py
echo "Running..."
time ./print.py > /dev/null
cat print.py
echo "Running..."
time ./print.py > /dev/null
-cat cout.cpp
-echo "Compiling..."
-time g++ -O4 cout.cpp -o cout
+cat xrange.py
echo "Running..."
echo "Running..."
-time ./cout > /dev/null
+time ./xrange.py > /dev/null
+
+cat echo.php
+echo "Running..."
+time ./echo.php > /dev/null
cat print.pl
echo "Running..."
time ./print.pl > /dev/null
cat print.pl
echo "Running..."
time ./print.pl > /dev/null
+cat cout.cpp
+echo "Compiling..."
+time g++ -O2 cout.cpp -o cout
+echo "Running..."
+time ./cout > /dev/null
+
cat cll1-print.c
echo "Compiling..."
cat cll1-print.c
echo "Compiling..."
-time gcc -O
4
cll1-print.c -o cll1-print
+time gcc -O
2
cll1-print.c -o cll1-print
echo "Running..."
time ./cll1-print > /dev/null
cat printf.c
echo "Compiling..."
echo "Running..."
time ./cll1-print > /dev/null
cat printf.c
echo "Compiling..."
-time gcc -O
4
printf.c -o printf
+time gcc -O
2
printf.c -o printf
echo "Running..."
time ./printf > /dev/null
cat puts.c
echo "Compiling..."
echo "Running..."
time ./printf > /dev/null
cat puts.c
echo "Compiling..."
-time gcc -O
4
puts.c -o puts
+time gcc -O
2
puts.c -o puts
echo "Running..."
time ./puts > /dev/null
cat fputs.c
echo "Compiling..."
echo "Running..."
time ./puts > /dev/null
cat fputs.c
echo "Compiling..."
-time gcc -O
4
fputs.c -o fputs
+time gcc -O
2
fputs.c -o fputs
echo "Running..."
time ./fputs > /dev/null
echo "Running..."
time ./fputs > /dev/null
This page took
0.130215 seconds
and
4
git commands to generate.