# File lib/rack/perftools_profiler/profile_once.rb, line 11
    def initialize(*args)
      super
      request = Rack::Request.new(@env)
      @times = (request.GET.fetch('times') {1}).to_i
      @mode = let(request.GET['mode']) do |m|
        if m.nil? || m.empty?
          nil
        else
          m.to_sym
        end
      end
      check_printer_arg
      @new_env = delete_custom_params(@env)
    end