summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bench/var-3-local.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bench/var-3-local.py')
-rw-r--r--tests/bench/var-3-local.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bench/var-3-local.py b/tests/bench/var-3-local.py
new file mode 100644
index 0000000000..124b484295
--- /dev/null
+++ b/tests/bench/var-3-local.py
@@ -0,0 +1,10 @@
+import bench
+
+
+def test(num):
+ ITERS = 20000000
+ i = 0
+ while i < ITERS:
+ i += 1
+
+bench.run(test)