diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-05-09 23:29:00 +0100 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-05-09 23:29:00 +0100 |
commit | 0d1f7584ba25e7289871b5503f010874bc2aef49 (patch) | |
tree | 9cb05b3b5d06807a9050e157b62a2bf49daadefc /activesupport/lib/active_support/testing/performance/ruby.rb | |
parent | a43f95d235190139159dab3cf4863252b0e9bf0e (diff) | |
download | rails-0d1f7584ba25e7289871b5503f010874bc2aef49.tar.gz rails-0d1f7584ba25e7289871b5503f010874bc2aef49.tar.bz2 rails-0d1f7584ba25e7289871b5503f010874bc2aef49.zip |
contemplate unsupported metrics
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/ruby.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/performance/ruby.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby.rb b/activesupport/lib/active_support/testing/performance/ruby.rb index 3dc668cd92..9f56a412a1 100644 --- a/activesupport/lib/active_support/testing/performance/ruby.rb +++ b/activesupport/lib/active_support/testing/performance/ruby.rb @@ -124,30 +124,18 @@ module ActiveSupport class Memory < DigitalInformationUnit Mode = RubyProf::MEMORY if RubyProf.const_defined?(:MEMORY) - - # overridden by each implementation - def measure; end end class Objects < Amount Mode = RubyProf::ALLOCATIONS if RubyProf.const_defined?(:ALLOCATIONS) - - # overridden by each implementation - def measure; end end class GcRuns < Amount Mode = RubyProf::GC_RUNS if RubyProf.const_defined?(:GC_RUNS) - - # overridden by each implementation - def measure; end end class GcTime < Time Mode = RubyProf::GC_TIME if RubyProf.const_defined?(:GC_TIME) - - # overridden by each implementation - def measure; end end end end |