Created
October 13, 2014 14:28
-
-
Save crossaidi/8204e680f1921aba1a4b to your computer and use it in GitHub Desktop.
improved benchmarking
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/ips" | |
Benchmark.ips do |x| | |
x.report("fast") { fast } | |
x.report("slow") { slow } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment