Permalink
Browse files

ruby-prof's awesome call stack printer is now used by default

  • Loading branch information...
1 parent 83b66f5 commit 0304d8076adefe63b07bbc7e9f464f99ac24ca59 @goncalossilva goncalossilva committed May 10, 2011
View
2 activesupport/lib/active_support/testing/performance/ruby.rb
@@ -14,7 +14,7 @@ module Performance
else
{ :min_percent => 0.01,
:metrics => [:process_time, :memory, :objects],
- :formats => [:flat, :graph_html, :call_tree] }
+ :formats => [:flat, :graph_html, :call_tree, :call_stack] }
end).freeze
protected
View
2 railties/guides/source/performance_testing.textile
@@ -340,7 +340,7 @@ Metrics and formats have different defaults depending on the interpreter in use.
|_.Interpreter|_.Mode|_.Default metrics|_.Default formats|
|/2.MRI/REE |Benchmarking|+[:wall_time, :memory, :objects, :gc_runs, :gc_time]+|N/A|
-|Profiling |+[:process_time, :memory, :objects]+|+[:flat, :graph_html, :call_tree]+|
+|Profiling |+[:process_time, :memory, :objects]+|+[:flat, :graph_html, :call_tree, :call_stack]+|
|/2.Rubinius|Benchmarking|+[:wall_time, :memory, :objects, :gc_runs, :gc_time]+|N/A|
|Profiling |+[:wall_time]+|+[:flat, :graph]+|
|/2.JRuby |Benchmarking|+[:wall_time, :user_time, :memory, :gc_runs, :gc_time]+|N/A|

0 comments on commit 0304d80

Please sign in to comment.