summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Strings.py
diff options
context:
space:
mode:
authorSteve Holden <steve@holdenweb.com>2006-05-26 18:26:21 (GMT)
committerSteve Holden <steve@holdenweb.com>2006-05-26 18:26:21 (GMT)
commitd05e5468501ff572a55349a584a28d09f9d7abb3 (patch)
tree35ac0c190daef873dac46b960928354abdad7067 /Tools/pybench/Strings.py
parent9c0e9c089c758bc9b64f0379bc93f8ea6740eb53 (diff)
downloadcpython-d05e5468501ff572a55349a584a28d09f9d7abb3.zip
cpython-d05e5468501ff572a55349a584a28d09f9d7abb3.tar.gz
cpython-d05e5468501ff572a55349a584a28d09f9d7abb3.tar.bz2
Revert tests to MAL's original round sizes to retiain comparability
from long ago and far away. Stop calling this pybench 1.4 because it isn't. Remove the empty test, which was a bad idea.
Diffstat (limited to 'Tools/pybench/Strings.py')
-rw-r--r--Tools/pybench/Strings.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/pybench/Strings.py b/Tools/pybench/Strings.py
index 43309da..b01843a 100644
--- a/Tools/pybench/Strings.py
+++ b/Tools/pybench/Strings.py
@@ -5,7 +5,7 @@ class ConcatStrings(Test):
version = 0.1
operations = 10 * 5
- rounds = 6000
+ rounds = 60000
def test(self):
@@ -87,7 +87,7 @@ class CompareStrings(Test):
version = 0.2
operations = 10 * 5
- rounds = 2000*22
+ rounds = 200000
def test(self):
@@ -169,7 +169,7 @@ class CompareInternedStrings(Test):
version = 0.1
operations = 10 * 5
- rounds = 2000*28
+ rounds = 200000
def test(self):
@@ -251,7 +251,7 @@ class CreateStringsWithConcat(Test):
version = 0.1
operations = 10 * 5
- rounds = 800*32
+ rounds = 80000
def test(self):
@@ -326,7 +326,7 @@ class StringSlicing(Test):
version = 0.1
operations = 5 * 7
- rounds = 1000*15
+ rounds = 100000
def test(self):
@@ -389,7 +389,7 @@ if hasattr('', 'lower'):
version = 0.1
operations = 3 * (5 + 4 + 2 + 1)
- rounds = 14000
+ rounds = 70000
def test(self):
@@ -462,7 +462,7 @@ if hasattr('', 'lower'):
version = 0.1
operations = 10 * 7
- rounds = 800*24
+ rounds = 80000
def test(self):