Skip to content

Commit

Permalink
chore: reword interactionCount reasoning
Browse files Browse the repository at this point in the history
  • Loading branch information
devcorpio committed Dec 21, 2023
1 parent 967d718 commit 665b736
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ function storeUserInteraction(entry) {
* the reasons why interactionCount is important are:
* 1. To get the proper percentile 98 when calculating the INP value.
* 2. To report INP as 0 (rather than undefined) in those circumstances where the PerformanceObserver doesn't report entries.
* That can happen because the min value for durationThreshold is 16 then interactions faster than that will not be reported.
* That can happen because interactions slower than 16ms will not be taken into account.
* Note: a first-input entry duration can be less than 16, which is also helpful for this
*
* Again, these are Google conventions/guidelines and things might change in the future.
Expand Down

0 comments on commit 665b736

Please sign in to comment.