# Long Animation Frames in JavaScript SDK

Published: 2024-08-15

Source: https://sentry.io/changelog/long-animation-frames-in-javascript-sdk

---

We have recently added support for the [Long Animation Frames API](https://w3c.github.io/long-animation-frames/) to the JavaScript SDK. At the moment, this feature is supported by Chromium browsers (Chrome, Edge, Opera). See [this chart](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceLongAnimationFrameTiming#browser_compatibility) for the latest browser compatibility information.

This new instrumentation improves on the existing [Long Tasks API](https://w3c.github.io/longtasks/) by identifying the scripts causing render delays. The script properties narrow down the root cause of the render delay and simplify the debugging experience.

![Screenshot 2024-08-14 at 2.37.42 PM.png](https://cslswue7zohm4cat.public.blob.vercel-storage.com/8q8y5FU-Screenshot%202024-08-14%20at%202.37.42%E2%80%AFPM.png)

Support for Long Animation Frames is released in version [8.18.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.18.0) and enabled by default from version [8.26.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.26.0) onward. To explicitly enable this instrumentation, set the property `enableLongAnimationFrame: true` in `BrowserTracingIntegration()`, within the Sentry SDK `integrations` list.