mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
ruby-prof's awesome call stack printer is now used by default
This commit is contained in:
@@ -14,7 +14,7 @@ module ActiveSupport
|
||||
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
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user