Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use a single IPS block so all scenarios warm up + report together.

  • Loading branch information...
commit 37598b95bdbba3dd6ade7d4b65b6ffe78b14af49 1 parent f0a86ed
@headius headius authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 benchmark/tiers/0/bm_inline_cache.rb
View
8 benchmark/tiers/0/bm_inline_cache.rb
@@ -35,9 +35,7 @@ def call_on(obj)
i += 1
end
end
-end
-Benchmark.ips do |x|
x.report "bimorphic call site" do |times|
i = 0
while i < times
@@ -46,9 +44,7 @@ def call_on(obj)
i += 1
end
end
-end
-Benchmark.ips do |x|
x.report "polymorphic call site with 3 entrie" do |times|
i = 0
while i < times
@@ -58,9 +54,7 @@ def call_on(obj)
i += 1
end
end
-end
-Benchmark.ips do |x|
x.report "polymorphic call site with 6 entrie" do |times|
i = 0
while i < times
@@ -73,9 +67,7 @@ def call_on(obj)
i += 1
end
end
-end
-Benchmark.ips do |x|
x.report "megamorphic call site with 10 entrie" do |times|
i = 0
while i < times
Please sign in to comment.
Something went wrong with that request. Please try again.