Polarity

A constant that states whether larger or smaller measurements, relative to a set baseline, indicate better performance.

BenchmarkMetric.swift:99BenchmarkMetric_Polarity.md
enum Polarity

Types of Polarity

  • case prefersLarger

    A performance measurement where a larger value, relative to a set baseline, indicates better performance.

  • case prefersSmaller

    A performance measurement where a smaller value, relative to a set baseline, indicates better performance.

Decoding Polarity