BenchmarkTestHelper

Helper class to access Litho internals for benchmark testing.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun createAndMeasureLithoView(c: ComponentContext, component: Component, widthSpec: Int, heightSpec: Int): LithoView
Link copied to clipboard
open fun createLithoViewAndExecLifecycleMethods(c: ComponentContext, component: Component, widthSpec: Int, heightSpec: Int)
Link copied to clipboard
open fun ensureMountSpec(component: Component)
Link copied to clipboard
open fun mountLithoView(lithoView: LithoView)
Link copied to clipboard
open fun setMountStateDirty(lithoView: LithoView)
Link copied to clipboard
open fun unmountLithoView(lithoView: LithoView)