Task scheduler: don’t freeze the tab when opening a page
summary
Describes Yandex’s task scheduler used to initialize search-page scripts without blocking the UI, reducing Total Blocking Time (TBT). Explains the problem of large TBT on page load (independent of frameworks) and shows how to lower TBT using a scheduler approach while keeping other metrics intact, plus guidance for implementing the same technique.
AI-written summary · about
chapters (14)
- 0:00Welcome
- 2:11Speaker background
- 3:37Event Loop performance
- 9:54Long Tasks on JS init
- 12:06Legacy search init
- 16:30Task splitting with setTimeout
- 21:27setTimeout delays specifics
- 24:40Smart scheduler: merging & prioritization
- 29:14postMessage vs setTimeout
- 34:36postMessage optimization with MessageChannel
- 38:36Existing init speed solutions
- 44:23React updates & native APIs
- 49:40Native schedulers in Chrome/Firefox
- 50:00Conclusion & Q&A
related talks
39mOn the Present and Future of the Browser
35mInstant Face
01h 02mWeb Performance Tuning with browser APIs
55mI Feel the Need for Web Page Speed
46mChaperones and curfews: minimising 3rd party impact
26mOptimize Your JavaScript App's Performance
48mThink Fast, First: Empowering a Performance Culture
40mIn Search of... A better, fast
