From a947dee85179abb689f4e0ff201fe6bdf5903f6f Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Sat, 18 Nov 2017 00:13:14 +0200 Subject: [PATCH] Silent formatter in benchmarks --- bench/check_sources.cr | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bench/check_sources.cr b/bench/check_sources.cr index 966e84e1..8b593604 100644 --- a/bench/check_sources.cr +++ b/bench/check_sources.cr @@ -25,4 +25,6 @@ Benchmark.ips do |x| end puts "== Measure:" -puts Benchmark.measure { Ameba.run } +config = Ameba::Config.load +config.formatter = Ameba::Formatter::BaseFormatter.new +puts Benchmark.measure { Ameba.run config }