gleamy_bench
Types
pub type Bench(a, b) {
Bench(inputs: List(Input(a)), functions: List(Function(a, b)))
}
Constructors
-
Bench(inputs: List(Input(a)), functions: List(Function(a, b)))
pub type Function(a, b) {
Function(label: String, function: fn(a) -> b)
}
Constructors
-
Function(label: String, function: fn(a) -> b)
pub type Input(a) {
Input(label: String, value: a)
}
Constructors
-
Input(label: String, value: a)
pub type Option {
WarmupTime(ms: Int)
BenchTime(ms: Int)
}
Constructors
-
WarmupTime(ms: Int)
-
BenchTime(ms: Int)
pub type Set {
Set(input: String, function: String, reps: List(Float))
}
Constructors
-
Set(input: String, function: String, reps: List(Float))