diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-05-10 02:49:32 +0100 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-05-10 02:49:32 +0100 |
commit | 0304d8076adefe63b07bbc7e9f464f99ac24ca59 (patch) | |
tree | 099949971971d7318e65c0ab771aef36ff6bdf5a | |
parent | 83b66f5af4190043610dd7ab0e095b2093798813 (diff) | |
download | rails-0304d8076adefe63b07bbc7e9f464f99ac24ca59.tar.gz rails-0304d8076adefe63b07bbc7e9f464f99ac24ca59.tar.bz2 rails-0304d8076adefe63b07bbc7e9f464f99ac24ca59.zip |
ruby-prof's awesome call stack printer is now used by default
-rw-r--r-- | activesupport/lib/active_support/testing/performance/ruby.rb | 2 | ||||
-rw-r--r-- | railties/guides/source/performance_testing.textile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby.rb b/activesupport/lib/active_support/testing/performance/ruby.rb index 9f56a412a1..b29ec6719c 100644 --- a/activesupport/lib/active_support/testing/performance/ruby.rb +++ b/activesupport/lib/active_support/testing/performance/ruby.rb @@ -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 diff --git a/railties/guides/source/performance_testing.textile b/railties/guides/source/performance_testing.textile index 0f49bffdf7..2b79237c59 100644 --- a/railties/guides/source/performance_testing.textile +++ b/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| |