Chasing Performance Drifts - Nicolas Dubien
summary
Company renders grids and charts over millions (sometimes billions) of data points and builds automated E2E checks that detect regressions before release. Tests use WeakRef probes plus a forced GC (Chrome exposed GC flag) to count leaked component instances, a render-counter hook to track unexpected re-renders, and a PerformanceObserver for long tasks; all run inside Cypress (after-hook across tests). These hooks surface real regressions (memory leaks, excessive rerenders, blocking long tasks) and stop them from reaching production.
AI-written summary · about
chapters (8)
- 0:00Introduction to performance regressions
- 3:55Real-world performance impact examples
- 8:11Memory leaks in long-running tabs
- 13:50Detecting memory leaks with tests
- 17:46Counting unnecessary re-renders
- 20:56Identifying slow scrolling issues
- 23:23Monitoring long tasks in browser
- 25:29Final safety net for regressions
