RenderBenchmarkHooks

Hooks for benchmark instrumentation of the rendering pipeline.

All callbacks fire synchronously on the main thread within the Compose draw pass. Implementations should be lightweight (e.g., recording timestamps) to minimize measurement overhead.

Functions

Link copied to clipboard
open fun onCacheHit()
Link copied to clipboard
open fun onCacheMiss()
Link copied to clipboard
open fun onDrawEnd()
Link copied to clipboard
open fun onDrawStart()
Link copied to clipboard
open fun onPrepareEnd()
Link copied to clipboard
open fun onPrepareStart()