Micro Benchmarks | Stoyan Stefanov | performance.now() 2022 @WebConferencesAmsterdam
Micro Benchmarks | Stoyan Stefanov | performance.now() 2022  @WebConferencesAmsterdam
Uploaded November 2022 | Updated September 2026, 5 days ago
Let’s tackle two problems that may fall into the “micro” benchmarking category of concerns but have “macro” effects on the user experience.

1) Today’s Web apps are made of distinct components. These components’ performance is rarely tested in isolation because of their small footprint. But by the time you combine them into an app it’s hard to tell where the time went. Death by a thousand cuts. What if you can use a stable time-independent metric that can tell you the cost of each component and help you prevent regressions?
2) Ever had a user session end unexpectedly? As if the user closed the tab while scrolling or while typing their credit card number. The reason may be because your app crashed the browser tab due to leaking memory. How do you find and plug these leaks in a complex app?

In this session Stoyan will demonstrate two new open source tools you can use to keep an eye on your components’ performance and discover memory leaks in your apps.

Slides: github.com/stoyan/ticr/blob/main/Microbenchmarks.pdf
About ticr: github.com/stoyan/ticr
About Stoyan: phpied.com

More about performance.now(); https://perfnow.nl or twitter.com/perfnowconf
Receive conference announcements in your inbox: https://perfnow.nl/subscribe
Micro Benchmarks | Stoyan Stefanov | performance.now() 2022Unpacking Bundling | Daniel Roe | performance.now() 2024How Privilege Defines Performance | Tatiana Mac | performance.now() 2019Modern Metrics | Nic Jansma | performance.now() 2022Is Sass Dead Yet? CSS Mixins and Functions - Miriam Suzanne - CSS Day 2025CSS Day 2026 was a blast!How to Think like a Performance Engineer - Harry Roberts - performance.now() 2025Refactoring CSS - Ana Rodrigues - CSS Day 2025LoAF - 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() 2019
Web Conferences Amsterdam |

Micro Benchmarks | Stoyan Stefanov | performance.now() 2022

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER