Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 0304d8076adefe63b07bbc7e9f464f99ac24ca59 1 parent 83b66f5
Gonçalo Silva goncalossilva authored
2  activesupport/lib/active_support/testing/performance/ruby.rb
@@ -14,7 +14,7 @@ module Performance
14 14 else
15 15 { :min_percent => 0.01,
16 16 :metrics => [:process_time, :memory, :objects],
17   - :formats => [:flat, :graph_html, :call_tree] }
  17 + :formats => [:flat, :graph_html, :call_tree, :call_stack] }
18 18 end).freeze
19 19
20 20 protected
2  railties/guides/source/performance_testing.textile
Source Rendered
@@ -340,7 +340,7 @@ Metrics and formats have different defaults depending on the interpreter in use.
340 340
341 341 |_.Interpreter|_.Mode|_.Default metrics|_.Default formats|
342 342 |/2.MRI/REE |Benchmarking|+[:wall_time, :memory, :objects, :gc_runs, :gc_time]+|N/A|
343   -|Profiling |+[:process_time, :memory, :objects]+|+[:flat, :graph_html, :call_tree]+|
  343 +|Profiling |+[:process_time, :memory, :objects]+|+[:flat, :graph_html, :call_tree, :call_stack]+|
344 344 |/2.Rubinius|Benchmarking|+[:wall_time, :memory, :objects, :gc_runs, :gc_time]+|N/A|
345 345 |Profiling |+[:wall_time]+|+[:flat, :graph]+|
346 346 |/2.JRuby |Benchmarking|+[:wall_time, :user_time, :memory, :gc_runs, :gc_time]+|N/A|

0 comments on commit 0304d80

Please sign in to comment.
Something went wrong with that request. Please try again.