diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-08 03:50:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-08 03:50:32 +0000 |
commit | e01b8b2393cd316ddf0a578ab2c32536cabf471e (patch) | |
tree | 816a106ac209c654654f96af5d2fe78aaf324f19 /benchmark | |
parent | cbb34a319c524903fa37c190ea1a335902c8fca1 (diff) | |
download | ruby-e01b8b2393cd316ddf0a578ab2c32536cabf471e.tar.gz |
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
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/driver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |