mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 05:10:15 +02:00
c3e77ad6db
Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
15 lines
144 B
Python
15 lines
144 B
Python
import bench
|
|
|
|
|
|
def test(num):
|
|
class B:
|
|
pass
|
|
|
|
for i in range(num // 40):
|
|
|
|
class X(B):
|
|
pass
|
|
|
|
|
|
bench.run(test)
|