method
with_gc_stats
v3.0.9 -
Show latest stable
- Class:
ActiveSupport::Testing::Performance::Metrics::Base
with_gc_stats()protected
No documentation available.
# File activesupport/lib/active_support/testing/performance.rb, line 269
def with_gc_stats
GC::Profiler.enable
GC.start
yield
ensure
GC::Profiler.disable
end