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-performance2.sh
diff --git
a/demos/performance/test-performance2.sh
b/demos/performance/test-performance2.sh
index 7298303f185eb9ba3c3e6b5c2250f8c45020484d..1df237a9b2627f7088cf71afd47dbaf959f353c9 100755
(executable)
--- a/
demos/performance/test-performance2.sh
+++ b/
demos/performance/test-performance2.sh
@@
-8,9
+8,17
@@
cat print2.py
echo "Running..."
time ./print2.py > /dev/null
echo "Running..."
time ./print2.py > /dev/null
+cat xrange2.py
+echo "Running..."
+time ./xrange2.py > /dev/null
+
+cat echo2.php
+echo "Running..."
+time ./echo2.php > /dev/null
+
cat cout2.cpp
echo "Compiling..."
cat cout2.cpp
echo "Compiling..."
-time g++ -O
4
cout2.cpp -o cout2
+time g++ -O
2
cout2.cpp -o cout2
echo "Running..."
time ./cout2 > /dev/null
echo "Running..."
time ./cout2 > /dev/null
@@
-20,18
+28,18
@@
time ./print2.pl > /dev/null
cat cll1-print2.c
echo "Compiling..."
cat cll1-print2.c
echo "Compiling..."
-time gcc -O
4
cll1-print2.c -o cll1-print2
+time gcc -O
2
cll1-print2.c -o cll1-print2
echo "Running..."
time ./cll1-print2 > /dev/null
cat printf2.c
echo "Compiling..."
echo "Running..."
time ./cll1-print2 > /dev/null
cat printf2.c
echo "Compiling..."
-time gcc -O
4
printf2.c -o printf2
+time gcc -O
2
printf2.c -o printf2
echo "Running..."
time ./printf2 > /dev/null
cat fputs2.c
echo "Compiling..."
echo "Running..."
time ./printf2 > /dev/null
cat fputs2.c
echo "Compiling..."
-time gcc -O
4
fputs2.c -o fputs2
+time gcc -O
2
fputs2.c -o fputs2
echo "Running..."
time ./fputs2 > /dev/null
echo "Running..."
time ./fputs2 > /dev/null
This page took
0.133018 seconds
and
4
git commands to generate.