diff options
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/testing/performance/ruby/mri.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby/mri.rb b/activesupport/lib/active_support/testing/performance/ruby/mri.rb index 5fa0269b6a..512eff30e2 100644 --- a/activesupport/lib/active_support/testing/performance/ruby/mri.rb +++ b/activesupport/lib/active_support/testing/performance/ruby/mri.rb @@ -8,6 +8,7 @@ module ActiveSupport if GC.respond_to?(:enable_stats) def with_gc_stats GC.enable_stats + GC.start yield ensure GC.disable_stats |