Class: Drnbench::RequestResponse::ProgressiveRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/drnbench/request-response/progressive-runner.rb

Defined Under Namespace

Classes: Result

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ProgressiveRunner

Returns a new instance of ProgressiveRunner.



24
25
26
# File 'lib/drnbench/request-response/progressive-runner.rb', line 24

def initialize(config)
  @config = config
end

Instance Attribute Details

#report_progressivelyObject (readonly)

Returns the value of attribute report_progressively.



22
23
24
# File 'lib/drnbench/request-response/progressive-runner.rb', line 22

def report_progressively
  @report_progressively
end

#resultObject (readonly)

Returns the value of attribute result.



22
23
24
# File 'lib/drnbench/request-response/progressive-runner.rb', line 22

def result
  @result
end

Instance Method Details

#runObject



28
29
30
31
# File 'lib/drnbench/request-response/progressive-runner.rb', line 28

def run
  run_benchmarks
  @result
end