What is First Input Delay (FID)?
What is First Input Delay (FID)?
Student
The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .
First Input Delay (FID) is a web performance metric that measures the time from when a user first interacts with your site (like clicking a link, tapping a button, or using a custom JavaScript-powered control) to the time when the browser is actually able to begin processing that interaction.
Key Points:
Why FID Happens:
The most common cause of high FID is the browser's main thread being blocked — often by long JavaScript tasks — preventing it from responding to user input.
Ideal FID:
Example:
If a user clicks a button, but the main thread is busy running a large script and can’t handle the click until 400ms later, the FID would be 400ms.
Note:
Google is replacing FID with Interaction to Next Paint (INP) as a more comprehensive responsiveness metric in March 2024, since INP reflects the responsiveness of all interactions, not just the first.