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
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










