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.
This commit is contained in:
Steve Holden 2006-05-26 16:27:59 +00:00
parent 0cbf2c5785
commit 431a76314d
17 changed files with 255 additions and 111 deletions

View file

@ -5,7 +5,7 @@ class ConcatStrings(Test):
version = 0.1
operations = 10 * 5
rounds = 60000
rounds = 6000
def test(self):
@ -87,7 +87,7 @@ class CompareStrings(Test):
version = 0.2
operations = 10 * 5
rounds = 200000
rounds = 2000*22
def test(self):
@ -169,7 +169,7 @@ class CompareInternedStrings(Test):
version = 0.1
operations = 10 * 5
rounds = 200000
rounds = 2000*28
def test(self):
@ -251,7 +251,7 @@ class CreateStringsWithConcat(Test):
version = 0.1
operations = 10 * 5
rounds = 80000
rounds = 800*32
def test(self):
@ -326,7 +326,7 @@ class StringSlicing(Test):
version = 0.1
operations = 5 * 7
rounds = 100000
rounds = 1000*15
def test(self):
@ -389,7 +389,7 @@ if hasattr('', 'lower'):
version = 0.1
operations = 3 * (5 + 4 + 2 + 1)
rounds = 70000
rounds = 14000
def test(self):
@ -462,7 +462,7 @@ if hasattr('', 'lower'):
version = 0.1
operations = 10 * 7
rounds = 80000
rounds = 800*24
def test(self):