1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import bench def test(num): for i in range(num // 40): class X: a = 0 b = 0 c = 0 d = 0 x = 1 bench.run(test)