summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_raise1.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm2_raise1.rb')
-rw-r--r--benchmark/bm_vm2_raise1.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/benchmark/bm_vm2_raise1.rb b/benchmark/bm_vm2_raise1.rb
deleted file mode 100644
index aa53879..0000000
--- a/benchmark/bm_vm2_raise1.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-def rec n
- if n > 0
- rec n-1
- else
- raise
- end
-end
-
-i = 0
-while i<6_000_000 # benchmark loop 2
- i += 1
-
- begin
- rec 1
- rescue
- # ignore
- end
-end