benchmark_suite icon indicating copy to clipboard operation
benchmark_suite copied to clipboard

correct the SimpleReport initializer to match client call from Benchmark::Suite

Open yangchenyun opened this issue 10 years ago • 0 comments

The calling client requires the constructor takes two args

      if @report
        @reports[file] = @report
        @report = nil
      else
        @reports[file] = SimpleReport.new(start, fin)
      end

https://github.com/yangchenyun/benchmark_suite/blob/master/lib/benchmark/suite.rb#L101

yangchenyun avatar Dec 18 '13 16:12 yangchenyun