Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
View
@@ -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
2  railties/guides/source/performance_testing.textile
View
@@ -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|
Please sign in to comment.
Something went wrong with that request. Please try again.