JavaScript Isn’t Slow – It’s Just Scheduled Wrong
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/javascript-isnt-slow-its-just-scheduled-wrongsummary
Examines how JavaScript’s single-threaded execution leads to UI lag and why setTimeout() and requestIdleCallback() are inadequate for prioritizing work. Explains and demonstrates scheduler.postTask() as a finer-grained scheduling API, using real-world examples and performance analysis to show how prioritized scheduling can reduce UI freezes and improve responsiveness.
AI-written summary · about
related talks
27mDon't block the event loop!JavaScript Async for Effortless UX
34mJavaScript's Secret Life Between the Ticks
18mEvent loop and asynchrony in JavaScript
27mWhen JavaScript takes its coffee break?
41mMake JavaScript Faster
28mLet Your Browser Take a Breather with a Scheduler.yield()
23mAsync JS
41mThe Eventloop in JavaScript - How does it work?