SessionMetrics

data class SessionMetrics(val sessionDurationMs: Long, val totalNavigations: Int, val totalJsEvaluations: Int, val totalJsExecutionTimeMs: Long, val blockedBytes: Long, val memoryPressureEvents: Int, val rendererCrashes: Int, val droppedCdpEvents: Long = 0)

Diagnostic metrics captured for a dev.webdroid.core.PageSession. All values are collected strictly locally and never transmitted externally.

Constructors

Link copied to clipboard
constructor(sessionDurationMs: Long, totalNavigations: Int, totalJsEvaluations: Int, totalJsExecutionTimeMs: Long, blockedBytes: Long, memoryPressureEvents: Int, rendererCrashes: Int, droppedCdpEvents: Long = 0)

Properties

Link copied to clipboard

Total network bytes blocked by resource rules, SSRF guards, or ad filters.

Link copied to clipboard

Total CDP events dropped due to backpressure overflow.

Link copied to clipboard

Total memory pressure warnings encountered during session runtime.

Link copied to clipboard

Total renderer crashes or OOM terminations survived.

Link copied to clipboard

Total active session runtime in milliseconds since initialization.

Link copied to clipboard

Total number of JavaScript evaluation calls executed.

Link copied to clipboard

Accumulated total JavaScript execution duration in milliseconds.

Link copied to clipboard

Total number of successful page navigations executed.