From 87ae83aff2bf27a632c6b30b3c487353442ff6a6 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sun, 17 Sep 2023 16:58:51 +0200 Subject: [PATCH] Lint RuboCop in benchmark [ci skip] --- benchmarks/benchmark.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/benchmark.rb b/benchmarks/benchmark.rb index a806229..b9f3edf 100755 --- a/benchmarks/benchmark.rb +++ b/benchmarks/benchmark.rb @@ -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 @@ -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