benchmark (ActionController::Benchmarking::ClassMethods)

    # File lib/action_controller/benchmarking.rb, line 23
          def benchmark(title, log_level = Logger::DEBUG, use_silence = true)
            if logger && logger.level == log_level
              result = nil
              ms = Benchmark.ms { result = use_silence ? silence { yield } : yield }
              logger.add(log_level, "#{title} (#{('%.1f' % ms)}ms)")
              result
            else
              yield
            end
          end