mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +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 CompareIntegers(Test):
|
||||
|
||||
version = 0.1
|
||||
version = 2.0
|
||||
operations = 30 * 5
|
||||
rounds = 120000
|
||||
|
||||
|
|
@ -198,9 +198,9 @@ class CompareIntegers(Test):
|
|||
|
||||
class CompareFloats(Test):
|
||||
|
||||
version = 0.1
|
||||
version = 2.0
|
||||
operations = 30 * 5
|
||||
rounds = 60000
|
||||
rounds = 80000
|
||||
|
||||
def test(self):
|
||||
|
||||
|
|
@ -394,7 +394,7 @@ class CompareFloats(Test):
|
|||
|
||||
class CompareFloatsIntegers(Test):
|
||||
|
||||
version = 0.1
|
||||
version = 2.0
|
||||
operations = 30 * 5
|
||||
rounds = 60000
|
||||
|
||||
|
|
@ -590,9 +590,9 @@ class CompareFloatsIntegers(Test):
|
|||
|
||||
class CompareLongs(Test):
|
||||
|
||||
version = 0.1
|
||||
version = 2.0
|
||||
operations = 30 * 5
|
||||
rounds = 60000
|
||||
rounds = 70000
|
||||
|
||||
def test(self):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue