1import bench 2 3 4class Foo: 5 num = 20000000 6 7 8def test(num): 9 i = 0 10 while i < Foo.num: 11 i += 1 12 13 14bench.run(test) 15