each implementation should define metrics and freeze the defaults
# File lib/active_support/testing/performance/jruby.rb, line 17 17: def run_gc 18: ManagementFactory.memory_mx_bean.gc 19: end
# File lib/active_support/testing/performance/rubinius.rb, line 15 15: def run_gc 16: GC.run(true) 17: end
# File lib/active_support/testing/performance/ruby.rb, line 21 21: def run_gc 22: GC.start 23: end
overridden by each implementation
# File lib/active_support/testing/performance.rb, line 124 124: def run_gc; end
# File lib/active_support/testing/performance.rb, line 136 136: def run_profile(metric) 137: klass = full_profile_options[:benchmark] ? Benchmarker : Profiler 138: performer = klass.new(self, metric) 139: 140: performer.run 141: puts performer.report 142: performer.record 143: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.