PerformanceProfiler

Records operation timings for debug builds.

Tracks enqueue, validation, PII scan, anomaly detection, encryption, and sync operations.

Since

0.5.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Get stats for all recorded operations.

Link copied to clipboard
fun record(operation: String, durationMs: Long)

Record a timed operation.

Link copied to clipboard
fun reset()

Reset all collected timings.

Link copied to clipboard
inline fun <T> timed(operation: String, block: () -> T): T

Execute a block and record its timing.