circuitpython/tests/bench/var-5-class-attr.py
2021-03-15 19:27:36 +05:30

15 lines
128 B
Python

import bench
class Foo:
num = 20000000
def test(num):
i = 0
while i < Foo.num:
i += 1
bench.run(test)