diff options
Diffstat (limited to 'tests/internal_bench/loop_count-3-while_up.py')
-rw-r--r-- | tests/internal_bench/loop_count-3-while_up.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/internal_bench/loop_count-3-while_up.py b/tests/internal_bench/loop_count-3-while_up.py new file mode 100644 index 0000000000..1ab8054a0f --- /dev/null +++ b/tests/internal_bench/loop_count-3-while_up.py @@ -0,0 +1,8 @@ +import bench + +def test(num): + i = 0 + while i < num: + i += 1 + +bench.run(test) |