提交 e0fa041f 编写于 作者: P Pratik Naik

Process time should be wall time when benchmarking

上级 859e1508
...@@ -12,7 +12,7 @@ module Performance ...@@ -12,7 +12,7 @@ module Performance
if benchmark = ARGV.include?('--benchmark') # HAX for rake test if benchmark = ARGV.include?('--benchmark') # HAX for rake test
{ :benchmark => true, { :benchmark => true,
:runs => 4, :runs => 4,
:metrics => [:process_time, :memory, :objects, :gc_runs, :gc_time], :metrics => [:wall_time, :memory, :objects, :gc_runs, :gc_time],
:output => 'tmp/performance' } :output => 'tmp/performance' }
else else
{ :benchmark => false, { :benchmark => false,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册