diff options
Diffstat (limited to 'Tools/pybench/Calls.py')
-rw-r--r-- | Tools/pybench/Calls.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/pybench/Calls.py b/Tools/pybench/Calls.py index 7c11867..2e6da18 100644 --- a/Tools/pybench/Calls.py +++ b/Tools/pybench/Calls.py @@ -2,7 +2,7 @@ from pybench import Test class PythonFunctionCalls(Test): - version = 2.0 + version = 2.1 operations = 5*(1+4+4+2) rounds = 60000 @@ -178,8 +178,8 @@ class BuiltinFunctionCalls(Test): # localize functions f0 = globals f1 = hash - f2 = cmp - f3 = range + f2 = divmod + f3 = max # do calls for i in range(self.rounds): @@ -279,8 +279,8 @@ class BuiltinFunctionCalls(Test): # localize functions f0 = dir f1 = hash - f2 = range - f3 = range + f2 = divmod + f3 = max # do calls for i in range(self.rounds): |