diff options
author | S.H <gamelinks007@gmail.com> | 2021-02-20 04:11:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 11:11:19 -0800 |
commit | efd19badf43f4f1f24d5aec8a28e94a6e1e47b5b (patch) | |
tree | d0f1b01082418d2434d5380cbb427bbccf095b6c /benchmark/numeric_methods.yml | |
parent | 837e77e0202e96060498794ff97a097e5440d148 (diff) | |
download | ruby-efd19badf43f4f1f24d5aec8a28e94a6e1e47b5b.tar.gz |
Improve performance some Numeric methods [Feature #17632] (#4190)
Diffstat (limited to 'benchmark/numeric_methods.yml')
-rw-r--r-- | benchmark/numeric_methods.yml | 13 |
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 |