summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Dict.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/Dict.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/Dict.py')
-rw-r--r--Tools/pybench/Dict.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/pybench/Dict.py b/Tools/pybench/Dict.py
index 54aeae7..d1b3833 100644
--- a/Tools/pybench/Dict.py
+++ b/Tools/pybench/Dict.py
@@ -4,7 +4,7 @@ class DictCreation(Test):
version = 0.3
operations = 5*(5 + 5)
- rounds = 60000
+ rounds = 600*24
def test(self):
@@ -79,7 +79,7 @@ class DictWithStringKeys(Test):
version = 0.1
operations = 5*(6 + 6)
- rounds = 200000
+ rounds = 2000*30
def test(self):
@@ -168,7 +168,7 @@ class DictWithFloatKeys(Test):
version = 0.1
operations = 5*(6 + 6)
- rounds = 200000
+ rounds = 20000
def test(self):
@@ -257,7 +257,7 @@ class DictWithIntegerKeys(Test):
version = 0.1
operations = 5*(6 + 6)
- rounds = 200000
+ rounds = 2000*19
def test(self):
@@ -346,7 +346,7 @@ class SimpleDictManipulation(Test):
version = 0.3
operations = 5*(6 + 6 + 6 + 6)
- rounds = 50000
+ rounds = 500*44
def test(self):