1 2 3 4 5 6 7 8 9 10 11 12
import bench def test(num): for i in range(num // 40): class X: def __getattribute__(self, name): pass bench.run(test)