NativePerformanceFixture
class NativePerformanceFixture(val ready: () -> Boolean = { true }, val captureAfterWarmup: () -> Unit = {}, val settleFrames: Int = 0, val beforeSamples: () -> Unit = {}, val afterSamples: (JsonObject) -> Unit = {}, val validateFrame: () -> Unit = {})(source)
Application data and evidence hooks outside native extraction samples. The kit owns invocation order, settling, deadlines, counters, and callback cleanup. Hooks execute on the screen's owner thread and failures invalidate the whole interval.
Parameters
ready
preparation predicate; false waits for another presented frame.
captureAfterWarmup
expensive fixture inventory capture before settling.
settleFrames
untimed presentations after capture, without application updates.
beforeSamples
snapshot application data after settling and before measured updates.
afterSamples
receive detached complete evidence outside the timed interval.
validateFrame
verify fixture/window ownership before every frame.