# File lib/puppet/rails/benchmark.rb, line 30 30: def accumulate_benchmark(message, label) 31: unless time_debug? 32: return yield 33: end 34: 35: $benchmarks[:accumulated][message] ||= Hash.new(0) 36: $benchmarks[:accumulated][message][label] += Benchmark.realtime { yield } 37: end