LoAF - Andy Davies - performance.now() 2025 @WebConferencesAmsterdam
LoAF - Andy Davies - performance.now() 2025  @WebConferencesAmsterdam
Uploaded July 2026 | Updated November 2026, 3 hours ago
Over time the web has become more reliant on JavaScript. Some believe JavaScript is the only way to build the modern web and dismiss the performance concerns, while others hold opposing views.

Wouldn't it be great if we had data on how scripts actually perform in our visitor's browsers – when they delay loading, cause jankiness and slowdown interactions, and perhaps more importantly which scripts are responsible?

After all, if we can't measure it, how can we improve it?

The Long Tasks API was a first attempt at providing this data but it couldn't answer the question of why the main thread was busy.

The Long Animation Frames (LoAF) API aims to overcome the weaknesses by also providing details on what Main Thread activity caused the long frame, if possible.

Slides: https://noti.st/andydavies/9JOItx/making-sense-of-loaf

***

A session from performance.now(), the web performance conference. Each November in Amsterdam; see https://perfnow.nl for more information.
Conference announcements in your inbox? https://perfnow.nl/subscribe
LoAF - Andy Davies - performance.now() 2025Nikolai Onken | The hitchhikers guide to mobile development | Mobilism 2011Optimising Largest Contentful Paint | Harry Roberts | performance.now() 2022When JavaScript Bytes | Tim Kadlec | performance.now() 2019The Bright Future of Web Performance | Vitaly Friedman | performance.now() 2019CSS Day 2023 is over; watch all talks!Hidde de Vries at performance.sync()That’s not how I wrote CSS 3 years ago | Manuel Matuzović | CSS Day 2023Creating Performance Impact in a Changing Tech Landscape | Tammy Everts | performance.now() 2023Mobile browser panel | Mobilism 2012Jacob Groß at performance.sync()The Web Performance Landscape in 2024 | Tammy Everts | performance.now() 2024
Web Conferences Amsterdam |

LoAF - Andy Davies - performance.now() 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER