summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Empty.py
blob: 3c54851fe1dc7a340b7f0f95261a096a513f600b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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