class Benchmark::Memory::Report
Hold the results of a set of benchmarks.
def add_entry(task, measurement)
-
(Entry)- the newly created entry.
Parameters:
-
measurement(Measurement) -- The measurements from the task. -
task(Job::Task) -- The task to report about.
def add_entry(task, measurement) entry = Entry.new(task.label, measurement) entries.push(entry) entry end
def comparable?
-
(Boolean)-
def comparable? comparison.possible? end
def comparison
-
(Comparison)-
def comparison @comparison ||= Comparison.new(entries, comparator) end
def initialize
-
(Report)-
def initialize @entries = [] @comparator = Comparator.new end