import std.range : iota; enum meas = [PhobosTimer("A stub").toMeasurement]; @FunctionBenchmark!("Something with an integer", iota(1, 10_000))(meas) void func(int l) { } alias getIota = () => iota(1, 200); @FunctionBenchmark!("Something with an integer", getIota)(meas) void func2(int l) { }