add the GC profiling option for newrelic for 1.9.2; see: http://newrelic.com/docs/ruby/ruby-gc-instrumentation
This commit is contained in:
parent
7cc6e3ed68
commit
9cdfea02b0
1 changed files with 1 additions and 0 deletions
|
|
@ -52,3 +52,4 @@ end
|
|||
# Sacrifice readability for a 10% performance boost
|
||||
Haml::Template::options[:ugly] = true
|
||||
GC.enable_stats if GC.respond_to?(:enable_stats)
|
||||
GC::Profiler.enable if defined?(GC::Profiler) && GC::Profiler.respond_to?(:enable)
|
||||
|
|
|
|||
Loading…
Reference in a new issue