summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Constructs.py
diff options
context:
space:
mode:
authorSteve Holden <steve@holdenweb.com>2006-05-26 16:27:59 (GMT)
committerSteve Holden <steve@holdenweb.com>2006-05-26 16:27:59 (GMT)
commit431a76314df929d42192fe4bb087eb97d158de87 (patch)
treed4e329932cd3ae725727346214ad73eb35f069d1 /Tools/pybench/Constructs.py
parent0cbf2c57852d64855b88305dfa7d77f84936a674 (diff)
downloadcpython-431a76314df929d42192fe4bb087eb97d158de87.zip
cpython-431a76314df929d42192fe4bb087eb97d158de87.tar.gz
cpython-431a76314df929d42192fe4bb087eb97d158de87.tar.bz2
Add -t option to allow easy test selection.
Action verbose option correctly. Tweak operation counts. Add empty and new instances tests. Enable comparisons across different warp factors. Change version.
Diffstat (limited to 'Tools/pybench/Constructs.py')
-rw-r--r--Tools/pybench/Constructs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/pybench/Constructs.py b/Tools/pybench/Constructs.py
index 00045bd..f7ebe73 100644
--- a/Tools/pybench/Constructs.py
+++ b/Tools/pybench/Constructs.py
@@ -4,7 +4,7 @@ class IfThenElse(Test):
version = 0.31
operations = 30*3 # hard to say...
- rounds = 150000
+ rounds = 1500*27
def test(self):
@@ -471,7 +471,7 @@ class NestedForLoops(Test):
version = 0.3
operations = 1000*10*5
- rounds = 150
+ rounds = 100
def test(self):
@@ -496,7 +496,7 @@ class ForLoops(Test):
version = 0.1
operations = 5 * 5
- rounds = 8000
+ rounds = 80*25
def test(self):