Return to site

Reduce javascript execution time

broken image
broken image

So how can you improve your INP score? Here are some tips: INP captures all interactions and provides a more holistic view of responsiveness. Both FID and TBT only capture a subset of interactions and do not account for subsequent interactions that may occur throughout the lifespan of a page visit. FID measures the delay between the first interaction and the first browser response, while TBT measures the total amount of time that the main thread was blocked by long tasks. INP is different from other metrics that measure responsiveness, such as First Input Delay (FID) or Total Blocking Time (TBT). A low INP means that the website was consistently able to respond quickly to all or most of the user interactions. INP observes the latency of all interactions that a user has made with a website, and reports a single value that represents the longest interaction observed. One way to measure responsiveness is by using an experimental metric called Interaction to Next Paint (INP). A responsive website should provide immediate feedback to the user and avoid delays or freezes. Responsiveness is how quickly a website responds to user input, such as clicks, taps, scrolls, and keystrokes. Have you ever clicked on a button or typed something on a website and waited for a long time before anything happened? If so, you have experienced a poor user experience due to low responsiveness.

broken image