LoAF (the Long Animation Frames API, not a sleeping cat, or bread, sadly) is a new initiative building on the Long Task API and addressing its shortcomings. With Interaction to Next Paint (INP) becoming a Core Web Vital shortly, we need more methods to measure and identify responsiveness issues.
What’s interesting about LoAF, is that it provides more granularity—instead of tasks, we can monitor frames and find out when a rendering update is delayed beyond 50ms. This issue features an article about the API, and I encourage you to have a browse!