isTrustworthy property

bool get isTrustworthy

Whether a number captured in this mode may be presented as a performance claim.

Only debug answers false. release is trustworthy for magnitude even though this harness cannot itself observe timings there -- a caller that got a release-mode report from elsewhere may still gate on it.

Implementation

bool get isTrustworthy => this != BenchmarkRunMode.debug;