ContentScopeOptimizations

Reports which of the content scope scripts performance optimisations are currently active.

Intended for telemetry that measures work these optimisations affect, so a measurement can be attributed to the code path that produced it instead of being pooled across states. Not a way to branch behaviour: each optimisation is applied by content scope scripts itself, and consumers must not re-implement those decisions.

Types

Link copied to clipboard
data class State(val injectionOptimized: Boolean, val messagingOptimized: Boolean, val experimentsCached: Boolean)

Functions

Link copied to clipboard