v147 · Demo 4 · Performance
Prerender Performance Lab
Benchmark cold navigation vs same-origin prerender vs cross-origin iframe prerender (Chrome 147). Compare activation latency via PerformanceNavigationTiming.activationStart, configure the Supports-Loading-Mode header, and simulate a <link rel="prerender"> injection.
Timing Benchmark
Each button simulates a navigation scenario using an iframe + performance.now() deltas. Results are illustrative — absolute values depend on network and CPU.
Load an iframe with no prerender. Measures time from injection to load event.
Inject <link rel="prerender"> 2s before loading. Measures activation latency.
Cross-origin iframe in a prerendered page. Requires Supports-Loading-Mode: prerender-cross-origin-frames.
Configure what the cross-origin iframe server should respond with. Change the value to see how it affects prerender eligibility.
Quick presets:
Injects a <link rel="prerender"> hint pointing at /v147/prerendering-cross-origin-iframes/.
Reads PerformanceNavigationTiming.activationStart on activation. In supporting browsers,
activation latency is measured from prerender start to first paint.
references
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗