Improving INP Metric by Exposing InteractionId to a Wider Range of Events
- Mentors
- Pallavi, Aoyuan Zuo
- Organization
- Chromium
- Technologies
- javascript, c++
- Topics
- web, INP, Event Timing API, Interactions, Keyboard Events
Imagine typing a cheerful "hello😁" on your keyboard, expecting a smooth and quick response, but instead, the browser stumbles, struggling to keep up with your spirited greeting and emoji. Sometimes, even typing a simple word can cause a slowdown on certain websites, resulting in a less-than-joyful user experience.
To tackle this issue, our project is here to fine-tune the way keyboard events are tracked, allowing for a closer eye on a broader range of these keyboard events, including the basics like keypress and composition events. This means developers can get a better grasp on how websites respond to keyboard inputs, making improvements where necessary and enhancing crucial metrics such as the Interaction to Next Paint (INP).