Instance Propertypackage-benchmark 1.29.4Benchmark
absolute
BenchmarkThresholds.swift:33let absolute: BenchmarkThresholds.AbsoluteThresholdslet absolute: BenchmarkThresholds.AbsoluteThresholdss9Benchmark0A10ThresholdsV8absoluteSDyAA0A6ResultV10PercentileOSiGvp What are these?9XGSFimport BenchmarkBenchmark allows you to easily create sophisticated Swift performance benchmarks
struct BenchmarkThresholdsDefinitions of benchmark thresholds per metric
typealias AbsoluteThresholds = [BenchmarkResult.Percentile : BenchmarkThresholds.AbsoluteThreshold]init(from decoder: any Decoder) throws init(relative: BenchmarkThresholds.RelativeThresholds = Self.Relative.none, absolute: BenchmarkThresholds.AbsoluteThresholds = Self.Absolute.none) Initializing BenchmarkThresholds The Benchmark thresholds define the tolerances to use when comparing two baselines/runs or when comparing with static thresholds.
static var `default`: BenchmarkThresholds { get }static var none: BenchmarkThresholds { get }static var relaxed: BenchmarkThresholds { get }static var strict: BenchmarkThresholds { get }let relative: BenchmarkThresholds.RelativeThresholdsenum Absoluteenum Relativetypealias AbsoluteThreshold = Inttypealias RelativeThreshold = Doubletypealias RelativeThresholds = [BenchmarkResult.Percentile : BenchmarkThresholds.RelativeThreshold]