class RSpec::Core::Notifications::ProfileNotification

def slow_duration

Returns:
  • (Float) - the time taken (in seconds) to run the slowest examples
def slow_duration
  @slow_duration ||=
    slowest_examples.inject(0.0) do |i, e|
      i + e.execution_result.run_time
    end
end