aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonçalo Silva <goncalossilva@gmail.com>2010-06-12 11:52:39 +0100
committerwycats <wycats@gmail.com>2010-06-17 19:18:52 -0700
commitf02d3f9eeeacf49973d6826a345749075af96a69 (patch)
tree867a497201e49b2a91a6a74f9ea2b63580217d0f
parent175164397bfa9c5ac1c96e4c4efd4bed8d5e9bcd (diff)
downloadrails-f02d3f9eeeacf49973d6826a345749075af96a69.tar.gz
rails-f02d3f9eeeacf49973d6826a345749075af96a69.tar.bz2
rails-f02d3f9eeeacf49973d6826a345749075af96a69.zip
ruby's GC doesn't support the time method, removed support for it
-rw-r--r--activesupport/lib/active_support/testing/performance.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb
index c882b088ce..b7a2f368ce 100644
--- a/activesupport/lib/active_support/testing/performance.rb
+++ b/activesupport/lib/active_support/testing/performance.rb
@@ -403,10 +403,6 @@ begin
def measure
RubyProf.measure_gc_time
end
- elsif GC.respond_to?(:time)
- def measure
- GC.time
- end
end
def format(measurement)