1import bench
2from ucollections import namedtuple
3
4T = namedtuple("Tup", ["foo1", "foo2", "foo3", "foo4", "num"])
5
6
7def test(num):
8    t = T(0, 0, 0, 0, 20000000)
9    i = 0
10    while i < t.num:
11        i += 1
12
13
14bench.run(test)
15