Created
September 26, 2015 06:56
-
-
Save wcc526/6f09c4124f0b02a35161 to your computer and use it in GitHub Desktop.
ruby_base
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
puts Benchmark.measure { 10000.times { print "." } } | |
Benchmark.bm do |x| | |
x.report('some test') { | |
N.times { some_test } | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment