Class: Drnbench::RequestResponse::ProgressiveRunner
- Inherits:
-
Object
- Object
- Drnbench::RequestResponse::ProgressiveRunner
- Defined in:
- lib/drnbench/request-response/progressive-runner.rb
Defined Under Namespace
Classes: Result
Instance Attribute Summary collapse
-
#report_progressively ⇒ Object
readonly
Returns the value of attribute report_progressively.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(config) ⇒ ProgressiveRunner
constructor
A new instance of ProgressiveRunner.
- #run ⇒ Object
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_progressively ⇒ Object (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 |
#result ⇒ Object (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
#run ⇒ Object
28 29 30 31 |
# File 'lib/drnbench/request-response/progressive-runner.rb', line 28 def run run_benchmarks @result end |