tests/bench: Add variation on loop_count/while_down_ne test.
This commit is contained in:
parent
6638ea9ca3
commit
1695151267
8
tests/bench/loop_count-5.1-while_down_ne_localvar.py
Normal file
8
tests/bench/loop_count-5.1-while_down_ne_localvar.py
Normal file
@ -0,0 +1,8 @@
|
||||
import bench
|
||||
|
||||
def test(num):
|
||||
zero = 0
|
||||
while num != zero:
|
||||
num -= 1
|
||||
|
||||
bench.run(test)
|
Loading…
Reference in New Issue
Block a user