Flowdock
method

run

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Runner
run(action, n, output = true) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/examples/performance.rb, line 56
  def self.run(action, n, output = true)
    print "."
    STDOUT.flush
    @output = output
    label = action.to_s
    app, env = app_and_env_for(action, n)
    t = Benchmark.realtime { new(app, output).call(env) }
    $ran << [label, (t * 1000).to_i.to_s] if output
  end
Register or log in to add new notes.