diff options
Diffstat (limited to 'jni/ruby/benchmark/bm_securerandom.rb')
-rw-r--r-- | jni/ruby/benchmark/bm_securerandom.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jni/ruby/benchmark/bm_securerandom.rb b/jni/ruby/benchmark/bm_securerandom.rb new file mode 100644 index 0000000..a082ea6 --- /dev/null +++ b/jni/ruby/benchmark/bm_securerandom.rb @@ -0,0 +1,5 @@ +require "securerandom" + +20_0000.times do + SecureRandom.random_number(100) +end |