summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_eval.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm2_eval.rb')
-rw-r--r--benchmark/bm_vm2_eval.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmark/bm_vm2_eval.rb b/benchmark/bm_vm2_eval.rb
new file mode 100644
index 0000000..9ab781e
--- /dev/null
+++ b/benchmark/bm_vm2_eval.rb
@@ -0,0 +1,6 @@
+i=0
+while i<6000000 # benchmark loop 2
+ i+=1
+ eval("1")
+end
+