R

requestAnimationFrame

This is a browser API that tells the browser to execute a function just before the next screen repaint, which is ideal for running smooth animations and visual updates. In the context of performance measurement, Speed Kit uses it as part of its algorithm to accurately approximate the Largest Contentful Paint (LCP) for Soft Navigations, ensuring that the measurement process itself is highly efficient and does not cause stutter or lag on the user's device.

All terms
Fabian Krumbholz
Fabian Krumbholz
April 8, 20261 min read

Related web performance terms

How fast is your website?