class

Spectator::Profile

Inherits Indexable < Enumerable < Iterable < Reference < Object

Information about the runtimes of examples.

Class methods

generate(report, size = 10)

Produces the profile from a report.

Source

Instance methods

percentage

Percentage (from 0 to 1) of time the results in this profile took compared to all examples.

Source
size

Number of results in the profile.

Source
time

Length of time it took to run the results in the profile.

Source
total_time

Total length of time it took to run all examples in the test suite.

Source
unsafe_fetch(index)

Retrieves a result at the specified index.

Source