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' | |
class A | |
def foo | |
#puts "foo" | |
2 + 2 | |
end | |
def bar | |
# puts "bar" |
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
Testing: super_bench.rb | |
===================== | |
+++ fkmr-correct | |
Warming up -------------------------------------- | |
No seals 58.120k i/100ms | |
One 59.110k i/100ms | |
Two 59.278k i/100ms | |
Calculating ------------------------------------- | |
No seals 759.168k (± 1.9%) i/s - 3.836M in 5.054594s | |
One 745.407k (± 3.3%) i/s - 3.724M in 5.002434s |