Skip to content
Browse files

ruby's GC doesn't support the time method, removed support for it

  • Loading branch information...
1 parent 1751643 commit f02d3f9eeeacf49973d6826a345749075af96a69 @goncalossilva goncalossilva committed with wycats Jun 12, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 activesupport/lib/active_support/testing/performance.rb
View
4 activesupport/lib/active_support/testing/performance.rb
@@ -403,10 +403,6 @@ class GcTime < Base
def measure
RubyProf.measure_gc_time
end
- elsif GC.respond_to?(:time)
- def measure
- GC.time
- end
end
def format(measurement)

0 comments on commit f02d3f9

Please sign in to comment.
Something went wrong with that request. Please try again.