# File lib/active_support/testing/performance.rb, line 251 251: def benchmark 252: with_gc_stats do 253: before = measure 254: yield 255: @total += (measure - before) 256: end 257: end
# File lib/active_support/testing/performance.rb, line 247 247: def measure 248: 0 249: end
# File lib/active_support/testing/performance.rb, line 243 243: def measure_mode 244: self.class::Mode 245: end
# File lib/active_support/testing/performance.rb, line 269 269: def with_gc_stats 270: GC::Profiler.enable 271: GC.start 272: yield 273: ensure 274: GC::Profiler.disable 275: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.