A JavaScript library for measuring FCP, LCP. Report real user measurements to tracking tool.
github.com/Maopy/split-time
Maopy/split-time