summaryrefslogtreecommitdiff
path: root/benchmark/app_fib.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/app_fib.yml')
-rw-r--r--benchmark/app_fib.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmark/app_fib.yml b/benchmark/app_fib.yml
new file mode 100644
index 0000000..d1c6671
--- /dev/null
+++ b/benchmark/app_fib.yml
@@ -0,0 +1,12 @@
+benchmark:
+ app_fib: |
+ def fib n
+ if n < 3
+ 1
+ else
+ fib(n-1) + fib(n-2)
+ end
+ end
+
+ fib(34)
+loop_count: 1