Class: Minitest::Test
- Inherits:
-
Object
- Object
- Minitest::Test
- Defined in:
- lib/openstudio_measure_tester.rb
Instance Method Summary collapse
Instance Method Details
#teardown ⇒ Object
53 54 55 56 57 58 59 60 |
# File 'lib/openstudio_measure_tester.rb', line 53 def teardown before = ObjectSpace.count_objects GC.start after = ObjectSpace.count_objects delta = {} before.each { |k, v| delta[k] = v - after[k] if after.key? k } # puts "GC Delta: #{delta}" end |