mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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.
This commit is contained in:
parent
9c0e9c089c
commit
d05e546850
17 changed files with 52 additions and 141 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue