Shopify Long Animation Frame (LoAF) script invokers and the Core Web Vitals
Among sites recording Long Animation Frames, 38.2% (1,996) trigger long frames from DOM event listeners (91% good INP, 118ms median), 58.0% from classic script evaluation (93% good INP), and 31.9% from timer/rAF callbacks (90% good INP).
58.0% of Shopify sites use classic script evaluation Long Animation Frame (LoAF) script invoker type, and 93% of those sites have a good INP, against 93% of all Shopify sites.
INP pass rate
Sites with classic script evaluation Long Animation Frame (LoAF) script invoker type have a good INP most often: 93%, against 93% of all Shopify sites. Sites with timer and rAF callbacks LoAF invokers have it least often, at 90%.
Long Animation Frame (LoAF) script invoker type usage
Classic script evaluation is the most used: 58.0% of Shopify sites.
Long Animation Frame (LoAF) script invoker type per framework
Vue sets the Long Animation Frame (LoAF) script invoker type to classic script evaluation on 55% of its sites, and 91% of Vue sites have a good INP, against 93% of all sites.
LoAF script invoker or the framework
Does the framework explain the Long Animation Frame (LoAF) script invoker type difference?
On jQuery, 93% of sites with classic script evaluation Long Animation Frame (LoAF) script invoker type have a good INP, against 89% of jQuery sites with DOM event listeners. Within jQuery, sites with classic script evaluation have a good INP more often. On Vue, 92% of sites with classic script evaluation Long Animation Frame (LoAF) script invoker type have a good INP, against 94% of Vue sites with DOM event listeners. Within Vue, sites with classic script evaluation and DOM event listeners have a good INP about equally often.
What triggers main-thread Long Animation Frames during load and interaction
The Long Animation Frames API (LoAF) attributes every frame over 50ms to the exact invoker that started the script task. Across 1,996 sites (38.2% of LoAF sites), DOM event listeners trigger long frames (91% good INP, 118ms median). Classic script evaluation accounts for 58.0% (93% good INP) and timer/rAF user-callbacks account for 31.9% (90% good INP), while heavy module-script evaluation (9.3%) and unbatched Promise microtasks (1.1%) drop to 91% and 85% good INP.
Understanding Long Animation Frame script invokers
Keep click and change event listeners on variant pickers and cart drawers lightweight by yielding before analytics dispatch or DOM-wide re-renders. On Shopify, 58.0% of LoAF stores trigger long frames from classic scripts (93% good INP) while 38.2% trigger them in event listeners (91% good INP).
By Arjen Karel · 8,246 crawled Shopify sites (5,825 with phone Chrome field data, 5,225 sites with Long Animation Frame (LoAF) script invoker type, October 2026). How we measured.