summaryrefslogtreecommitdiff
path: root/benchmark/numeric_methods.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/numeric_methods.yml')
-rw-r--r--benchmark/numeric_methods.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/benchmark/numeric_methods.yml b/benchmark/numeric_methods.yml
new file mode 100644
index 0000000000..433c2268a3
--- /dev/null
+++ b/benchmark/numeric_methods.yml
@@ -0,0 +1,13 @@
+prelude: |
+ int = 42
+ flo = 4.2
+benchmark:
+ real?: |
+ int.real?
+ integer?: |
+ flo.integer?
+ finite?: |
+ int.finite?
+ infinite?: |
+ int.infinite?
+loop_count: 20000000