View Source Benchee.Benchmark.ScenarioContext (Benchee v1.1.0)
Internal struct the runner & related modules deal with to run a scenario.
Practically bundles information the runner needs to be aware of while running a scenario such as the current_time, end_time, printer, input, function call overhead etc.
Link to this section Summary
Link to this section Types
Specs
t() :: %Benchee.Benchmark.ScenarioContext{
config: Benchee.Configuration.t(),
current_time: pos_integer() | nil,
end_time: pos_integer() | nil,
function_call_overhead: non_neg_integer(),
num_iterations: pos_integer(),
printer: module(),
scenario_input: any(),
system: term()
}