aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/driver.rb2
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