aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance/ruby/yarv.rb
diff options
context:
space:
mode:
authorGonçalo Silva <goncalossilva@gmail.com>2011-05-09 23:29:00 +0100
committerGonçalo Silva <goncalossilva@gmail.com>2011-05-09 23:29:00 +0100
commit0d1f7584ba25e7289871b5503f010874bc2aef49 (patch)
tree9cb05b3b5d06807a9050e157b62a2bf49daadefc /activesupport/lib/active_support/testing/performance/ruby/yarv.rb
parenta43f95d235190139159dab3cf4863252b0e9bf0e (diff)
downloadrails-0d1f7584ba25e7289871b5503f010874bc2aef49.tar.gz
rails-0d1f7584ba25e7289871b5503f010874bc2aef49.tar.bz2
rails-0d1f7584ba25e7289871b5503f010874bc2aef49.zip
contemplate unsupported metrics
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/ruby/yarv.rb')
-rw-r--r--activesupport/lib/active_support/testing/performance/ruby/yarv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby/yarv.rb b/activesupport/lib/active_support/testing/performance/ruby/yarv.rb
index 498bc6b4db..62095a8fe4 100644
--- a/activesupport/lib/active_support/testing/performance/ruby/yarv.rb
+++ b/activesupport/lib/active_support/testing/performance/ruby/yarv.rb
@@ -17,7 +17,7 @@ module ActiveSupport
end
class Memory < DigitalInformationUnit
- # Ruby 1.9 + GCdata patch
+ # Ruby 1.9 + GCdata patch
if GC.respond_to?(:malloc_allocated_size)
def measure
GC.malloc_allocated_size