tests: Rename "bench" tests to "internal_bench" and run-internalbench.py
To emphasise these benchmark tests compare the internal performance of features amongst themselves, rather than absolute performance testing.
This commit is contained in:
8
tests/internal_bench/loop_count-3-while_up.py
Normal file
8
tests/internal_bench/loop_count-3-while_up.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import bench
|
||||
|
||||
def test(num):
|
||||
i = 0
|
||||
while i < num:
|
||||
i += 1
|
||||
|
||||
bench.run(test)
|
||||
Reference in New Issue
Block a user