View Source Benchee.Benchmark.Hooks (Benchee v1.3.1)

Internal module to support hooks functionality.

Summary

Types

@type hook_function() :: (any() -> any())

Functions

Link to this function

run_after_each(return_value, map1, map2)

View Source
@spec run_after_each(
  any(),
  Benchee.Scenario.t(),
  Benchee.Benchmark.ScenarioContext.t()
) :: any()
Link to this function

run_after_scenario(map1, map2)

View Source
@spec run_after_scenario(Benchee.Scenario.t(), Benchee.Benchmark.ScenarioContext.t()) ::
  any()
Link to this function

run_before_each(map1, map2)

View Source
Link to this function

run_before_scenario(scenario, scenario_context)

View Source
@spec run_before_scenario(Benchee.Scenario.t(), Benchee.Benchmark.ScenarioContext.t()) ::
  any()