1import bench
2
3
4class Foo:
5    def __init__(self):
6        self._num = 20000000
7
8    def num(self):
9        return self._num
10
11
12def test(num):
13    o = Foo()
14    i = 0
15    while i < o.num():
16        i += 1
17
18
19bench.run(test)
20