From e01b8b2393cd316ddf0a578ab2c32536cabf471e Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 8 Jan 2017 03:50:32 +0000 Subject: driver.rb: out output file when loading [ci skip] * benchmark/driver.rb: default output file is not used when loading rawdata. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark') diff --git a/benchmark/driver.rb b/benchmark/driver.rb index db97cbf15b..cf24657ded 100644 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -420,7 +420,6 @@ if __FILE__ == $0 } parser.parse!(ARGV) - opt[:output] ||= "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}#{formats[opt[:format]]}" if input = opt[:rawdata_input] b = open(input) {|f| @@ -428,6 +427,7 @@ if __FILE__ == $0 } b.show_results else + opt[:output] ||= "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}#{formats[opt[:format]]}" BenchmarkDriver.benchmark(opt) end end -- cgit v1.2.3