summaryrefslogtreecommitdiff
path: root/benchmark/securerandom.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/securerandom.yml')
-rw-r--r--benchmark/securerandom.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmark/securerandom.yml b/benchmark/securerandom.yml
new file mode 100644
index 0000000..187ca2e
--- /dev/null
+++ b/benchmark/securerandom.yml
@@ -0,0 +1,8 @@
+benchmark:
+ securerandom: |
+ require "securerandom"
+
+ 20_0000.times do
+ SecureRandom.random_number(100)
+ end
+loop_count: 1