class BenchmarkDriver::Output::All
def initialize(metrics:, jobs:, contexts:, options:)
-
contexts
(Array
) -- -
jobs
(Array
) -- -
metrics
(Array
) --
def initialize(metrics:, jobs:, contexts:, options:) @metrics = metrics @job_names = jobs.map(&:name) @context_names = contexts.map(&:name) @name_length = [@job_names.map(&:length).max, NAME_LENGTH].max @sort = options.fetch(:sort, true) end