mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
Updated to pybench 2.0.
See svn.python.org/external/pybench-2.0 for the original import of that version. Note that platform.py was not copied over from pybench-2.0 since it is already part of Python 2.5.
This commit is contained in:
parent
ef7fe5f228
commit
7d9743dd6a
20 changed files with 1240 additions and 649 deletions
|
|
@ -2,7 +2,7 @@ from pybench import Test
|
|||
|
||||
class SimpleIntegerArithmetic(Test):
|
||||
|
||||
version = 0.3
|
||||
version = 2.0
|
||||
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
|
||||
rounds = 120000
|
||||
|
||||
|
|
@ -157,9 +157,9 @@ class SimpleIntegerArithmetic(Test):
|
|||
|
||||
class SimpleFloatArithmetic(Test):
|
||||
|
||||
version = 0.3
|
||||
version = 2.0
|
||||
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
|
||||
rounds = 100000
|
||||
rounds = 120000
|
||||
|
||||
def test(self):
|
||||
|
||||
|
|
@ -312,7 +312,7 @@ class SimpleFloatArithmetic(Test):
|
|||
|
||||
class SimpleIntFloatArithmetic(Test):
|
||||
|
||||
version = 0.3
|
||||
version = 2.0
|
||||
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
|
||||
rounds = 120000
|
||||
|
||||
|
|
@ -468,9 +468,9 @@ class SimpleIntFloatArithmetic(Test):
|
|||
|
||||
class SimpleLongArithmetic(Test):
|
||||
|
||||
version = 0.3
|
||||
version = 2.0
|
||||
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
|
||||
rounds = 30000
|
||||
rounds = 60000
|
||||
|
||||
def test(self):
|
||||
|
||||
|
|
@ -623,9 +623,9 @@ class SimpleLongArithmetic(Test):
|
|||
|
||||
class SimpleComplexArithmetic(Test):
|
||||
|
||||
version = 0.3
|
||||
version = 2.0
|
||||
operations = 5 * (3 + 5 + 5 + 3 + 3 + 3)
|
||||
rounds = 40000
|
||||
rounds = 80000
|
||||
|
||||
def test(self):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue