diff options
author | Steve Holden <steve@holdenweb.com> | 2006-05-26 16:27:59 +0000 |
---|---|---|
committer | Steve Holden <steve@holdenweb.com> | 2006-05-26 16:27:59 +0000 |
commit | 431a76314df929d42192fe4bb087eb97d158de87 (patch) | |
tree | d4e329932cd3ae725727346214ad73eb35f069d1 /Tools/pybench/Unicode.py | |
parent | 0cbf2c57852d64855b88305dfa7d77f84936a674 (diff) | |
download | cpython-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/Unicode.py')
-rw-r--r-- | Tools/pybench/Unicode.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Tools/pybench/Unicode.py b/Tools/pybench/Unicode.py index 366f171bd9..86839b5c69 100644 --- a/Tools/pybench/Unicode.py +++ b/Tools/pybench/Unicode.py @@ -10,7 +10,7 @@ class ConcatUnicode(Test): version = 0.1 operations = 10 * 5 - rounds = 60000 + rounds = 600*7 def test(self): @@ -92,7 +92,7 @@ class CompareUnicode(Test): version = 0.1 operations = 10 * 5 - rounds = 150000 + rounds = 1500*17 def test(self): @@ -174,7 +174,7 @@ class CreateUnicodeWithConcat(Test): version = 0.1 operations = 10 * 5 - rounds = 80000 + rounds = 800*12 def test(self): @@ -249,7 +249,7 @@ class UnicodeSlicing(Test): version = 0.1 operations = 5 * 7 - rounds = 100000 + rounds = 10000 def test(self): @@ -310,7 +310,7 @@ class UnicodeMappings(Test): version = 0.1 operations = 3 * (5 + 4 + 2 + 1) - rounds = 10000 + rounds = 100*15 def test(self): @@ -383,7 +383,7 @@ class UnicodePredicates(Test): version = 0.1 operations = 5 * 9 - rounds = 100000 + rounds = 1000*25 def test(self): @@ -460,7 +460,7 @@ else: version = 0.1 operations = 5 * 8 - rounds = 100000 + rounds = 1000*15 def test(self): |