Method: RSpec::Core::Formatters::ProfileFormatter#dump_profile

Defined in:
lib/rspec/core/formatters/profile_formatter.rb

#dump_profile(profile) ⇒ void

This method is invoked after the dumping the summary if profiling is enabled.

Parameters:

  • profile (ProfileNotification)

    containing duration, slowest_examples and slowest_example_groups

[View source]

25
26
27
28
# File 'lib/rspec/core/formatters/profile_formatter.rb', line 25

def dump_profile(profile)
  dump_profile_slowest_examples(profile)
  dump_profile_slowest_example_groups(profile)
end