JvmPerformanceSequence

Kit-owned sample boundaries for interleaved historical workloads with untimed per-sample setup. Consumers choose which operation to time; they cannot publish an incomplete or failed sequence.

Functions

Link copied to clipboard
open override fun close()

Releases collector storage; a retained caller reference cannot resume the sequence.

Link copied to clipboard
fun sample(name: String, operation: () -> Unit)

Collects one named successful operation on the construction owner thread.