Method: Micron::Runner::Method#total_duration
- Defined in:
- lib/micron/runner/method.rb
#total_duration ⇒ Object
Get the total duration of this method’s run (setup + runtime + teardown)
89 90 91 92 93 |
# File 'lib/micron/runner/method.rb', line 89 def total_duration n = 0.0 @durations.values.each{ |d| n += d } n end |