glychee/configuration

Optional configuration of Benchee.

Configuration is stored in ETS.

Types

pub type BencheeConfigurationKey {
  MemoryTime
  Parallel
  ReductionTime
  Time
  Warmup
}

Constructors

  • MemoryTime
  • Parallel
  • ReductionTime
  • Time
  • Warmup

Configuration values are all positive integers.

pub type BencheeConfigurationValue =
  Int

Functions

pub fn initialize() -> Nil

Initialize the ETS configuration table.

pub fn set_pair(
  key configuration_key: BencheeConfigurationKey,
  value configuration_value: Int,
) -> Bool

Set a config pair.

Search Document