Skip to content

Instantly share code, notes, and snippets.

@natezzz
natezzz / super_bench_result.txt
Created February 27, 2017 03:14
Method Seal benchmark result
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
@natezzz
natezzz / super_bench.rb
Created February 27, 2017 03:10
Method Seal benchmark
require 'benchmark/ips'
class A
def foo
#puts "foo"
2 + 2
end
def bar
# puts "bar"