Companion

Properties

Link copied to clipboard
const val FEW_SAMPLES: Int = 5
Link copied to clipboard
const val MIN_SAMPLES: Int = 2
Link copied to clipboard
const val SHORT_RUN_MS: Long

A JVM run shorter than this may be mostly warm-up.

Functions

Link copied to clipboard
fun compare(first: Run?, second: Run?, firstCapsule: Capsule, secondCapsule: Capsule): Performance?

Null when either run has no samples, so a plain pair of runs prints nothing new.

Link copied to clipboard
fun limits(first: Run?, second: Run?, wallA: Spread, wallB: Spread, ca: Capsule, cb: Capsule): List<String>

The limits that apply to a comparison of two runs; drift compare prints them too.