Skip to main content

bench_layout_cache

Function bench_layout_cache 

Source
pub fn bench_layout_cache(iterations: usize) -> BenchMetric
Expand description

Benchmarks retained layout engine clean-subtree caching across a 120-node UI tree.

§Arguments

  • usize - Number of layout passes to measure.

§Returns

  • BenchMetric - Measured latency and cache-hit telemetry.