def time
      result = nil
      seconds = @timer.run { result = yield }.elapsed
      millis = (seconds * 1000).round
      logger.debug { "Database operation took #{millis} milliseconds." }
      result
    end
def time
      result = nil
      seconds = @timer.run { result = yield }.elapsed
      millis = (seconds * 1000).round
      logger.debug { "Database operation took #{millis} milliseconds." }
      result
    end
Calls the block given to this method. The execution duration is captured in the {#timer}.

 @return the block result