cpython/Tools/pybench/Empty.py
Steve Holden 431a76314d 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.
2006-05-26 16:27:59 +00:00

23 lines
390 B
Python
Executable file

from pybench import Test
class EmptyTest(Test):
"""This is just here as a potential measure of repeatability."""
version = 0.3
operations = 1
rounds = 60000
def test(self):
l = []
for i in xrange(self.rounds):
pass
def calibrate(self):
l = []
for i in xrange(self.rounds):
pass