Skip to content

Commit

Permalink
Merge pull request #220 from ifad/chore/lint-benchmark
Browse files Browse the repository at this point in the history
Lint RuboCop in benchmark
  • Loading branch information
tagliala authored Sep 17, 2023
2 parents 9fa2934 + 87ae83a commit 89bf2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/benchmark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Benchmark.bmbm(30) do |x|
x.report('.merge') do
ITERATIONS.times { Foo.all.merge(Foo.all) }
ITERATIONS.times { Foo.merge(Foo.all) }
end

x.report('.first') do
Expand All @@ -36,7 +36,7 @@
end

x.report('History.merge') do
ITERATIONS.times { Foo::History.all.merge(Foo::History.all) }
ITERATIONS.times { Foo::History.merge(Foo::History.all) }
end

x.report('History.first') do
Expand Down

0 comments on commit 89bf2bc

Please sign in to comment.