summaryrefslogtreecommitdiff
path: root/Tools/pybench/Arithmetic.py
diff options
context:
space:
mode:
authorSteve Holden <steve@holdenweb.com>2006-05-26 16:27:59 +0000
committerSteve Holden <steve@holdenweb.com>2006-05-26 16:27:59 +0000
commit431a76314df929d42192fe4bb087eb97d158de87 (patch)
treed4e329932cd3ae725727346214ad73eb35f069d1 /Tools/pybench/Arithmetic.py
parent0cbf2c57852d64855b88305dfa7d77f84936a674 (diff)
downloadcpython-git-431a76314df929d42192fe4bb087eb97d158de87.tar.gz
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/Arithmetic.py')
-rw-r--r--Tools/pybench/Arithmetic.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/pybench/Arithmetic.py b/Tools/pybench/Arithmetic.py
index 4ed6219407..229396cfde 100644
--- a/Tools/pybench/Arithmetic.py
+++ b/Tools/pybench/Arithmetic.py
@@ -4,7 +4,7 @@ class SimpleIntegerArithmetic(Test):
version = 0.3
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
- rounds = 120000
+ rounds = 1200*21
def test(self):
@@ -159,7 +159,7 @@ class SimpleFloatArithmetic(Test):
version = 0.3
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
- rounds = 100000
+ rounds = 1000*30
def test(self):
@@ -314,7 +314,7 @@ class SimpleIntFloatArithmetic(Test):
version = 0.3
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
- rounds = 120000
+ rounds = 1200*30
def test(self):
@@ -470,7 +470,7 @@ class SimpleLongArithmetic(Test):
version = 0.3
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
- rounds = 30000
+ rounds = 300*32
def test(self):
@@ -625,7 +625,7 @@ class SimpleComplexArithmetic(Test):
version = 0.3
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
- rounds = 40000
+ rounds = 400*27
def test(self):