summaryrefslogtreecommitdiff
path: root/benchmark/bm_app_factorial.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_app_factorial.rb')
-rw-r--r--benchmark/bm_app_factorial.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/benchmark/bm_app_factorial.rb b/benchmark/bm_app_factorial.rb
deleted file mode 100644
index 45f471d..0000000
--- a/benchmark/bm_app_factorial.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-def fact(n)
- if(n > 1)
- n * fact(n-1)
- else
- 1
- end
-end
-
-100.times {
- fact(5000)
-}