Runtime jank main thread block गर्ने long task बाट आउँछ — त्यो एउटै thread जसले JS, layout, paint, र input सम्हाल्छ। जब कुनै task धेरै लामो चल्छ, input process हुन सक्दैन, त्यसैले interaction जमेको जस्तो लाग्छ र INP बढ्छ।
मूल model: main thread
text
Main thread: [ event handler 180ms ] input queued... rendered ─▶ INP = time until next paint
└── a "long task" (>50ms) blocks everything, including responding to the click
INP ले प्रयोगकर्ता interaction देखि अर्को paint सम्मको ढिलाइ मापन गर्छ। यसका तीन भाग छन्: (click गर्दा main thread व्यस्त), (तपाईंको handler), र (त्यसपछिको style/layout/paint)।
