-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add INP breakdown timings and LoAF attribution (#442)
* Remove missed polyfill code * Remove unused rollup plugin * Add frame-based INP and LoAF attribution * Add additional code comments * Update src/types.ts Co-authored-by: Barry Pollard <barrypollard@google.com> * Update src/onINP.ts Co-authored-by: Barry Pollard <barrypollard@google.com> * Address review feedback * Update README to match latest JSDocs * Apply suggestions from code review Co-authored-by: Barry Pollard <barrypollard@google.com> * Address review feedback * Add fallback for requestIdleCallback * Add missing null check * Rename processingTime to processingDuration * Update tests to reduce flakiness * Address review feedback * Update type definitions and descriptions * Update src/onINP.ts Co-authored-by: Barry Pollard <barrypollard@google.com> * Revert interactionType to be pointer or keyboard * Increase the past renderTimes frame length * Format code * Update README.md Co-authored-by: Brendan Kenny <bckenny@gmail.com> * Update README * Add test for LoAF entries * Fix failing test --------- Co-authored-by: Barry Pollard <barrypollard@google.com> Co-authored-by: Brendan Kenny <bckenny@gmail.com>
- Loading branch information
1 parent
538cdf5
commit be20a19
Showing
27 changed files
with
901 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.