micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import bench
|
||||
|
||||
|
||||
class Foo:
|
||||
num = 20000000
|
||||
|
||||
|
||||
def test(num):
|
||||
i = 0
|
||||
while i < Foo.num:
|
||||
i += 1
|
||||
|
||||
|
||||
bench.run(test)
|
Reference in New Issue
Block a user