JavaScript is single threaded. Every script our application executes runs on the main thread. Keeping the execution time as short as possible is crucial for the runtime performance and responsiveness of our applications. Too long running scripts will result in bad (Core) Web Vitals like INP and TBT.
In this talk, we’ll uncover another solution to this problem, the Concurrent Mode. Having profound knowledge about how to orchestrate work on the main thread is key to understanding how the Concurrent Mode works. We’ll start with a deep dive into the JavaScript Event Loop and explore the characteristics of different scheduling techniques.
Building up on the scheduling techniques, I will explain how to implement a custom scheduler.
Finally, we’ll wrap things up with a live demonstration on how to apply the Concurrent Mode to angular applications. We’ll progressively improve the (Core) Web Vitals INP and TBT on this journey.
What You Will Learn
✔️ Control the Browser Render Pipeline - To make your app faster, you need to understand how the browser interprets your code. Learn the different stages of the Browser Render Pipeline. Get to know the tools to inspect & analyze bottlenecks in your application. Write code that always performs optimally.
✔️ Master the Javascript Event Loop - If you care about performance in any JavaScript application, mastering the Event Loop is a must. Dive deep into the JavaScript vm and learn techniques to avoid slow performing code on real world applications.
✔️ Measure & Optimize (Core) Web Vitals - Your performance has a score. Learn how it’s composed, measured and techniques to improve it. Get an expert in analyzing and improving LCP, CLS, INP, TBT, TTFB & more.
✔️ Go Zoneless: Master the new zoneless & signal-based change detection - Understand how Angular is getting faster because of the new change detection and zoneless features. Learn how to benefit from them.
✔️ Use CSS and DOM performance best practices - Improve the performance of real world applications by applying the latest CSS features. Learn how to identify and fix forced reflows and how to avoid layout thrashing.
✔️ Optimize your apps Network requests - Enterprise apps consume a lot of data. Master the tools that allow you to identify network related performance bottlenecks. Learn techniques and strategic approaches to optimize network related data consumption to ultimately improve the performance of your application.
Takeaway
From this workshop you will walk away with a deep understanding of how to enhance your applications performance. You'll gain practical knowledge of the JavaScript event loop, learn optimization techniques for the Core Web Vitals, and understand how to effectively utilize strategic approaches to identify & encounter performance bottlenecks. We'll dive deep into the browsers render pipeline, ensuring you know how to measure and improve your apps performance properly. Additionally, you will learn to apply advanced features like measuring CSS execution performance & utilizing cutting-edge CSS and DOM APIs to reduce reflows and prevent layout thrashing.
CEO, push-based.io | Austria
Independent Consultant, Architect, Developer & Trainer, Poland
Front End Tech Lead, Tikal | Israel
Consultant, Inmeta | Norway
Senior Cloud Advocate, Microsoft | UK
Head of DevRel, Weaviate | Denmark
CEO, datAInsights GmbH | Austria
Developer Advocate, Weaviate | France
Teacher and Consultant, ngIndia | India
Tech Leader, Senior Software Engineer, Sii | Poland
Full Stack Software Developer, Push-Based | Poland
Founder & Developer, GDE, e-square.io | Israel
Founder, HiRez.io | Israel
Trainer & Consultant, AngularArchitects.io | Austria
Senior Developer, Vue Storefront | Poland
Software Development Cook, Teacher & Coach, GDE | France
Back End Developer, Podme | Sweden
Lead Performance Engineer, Trainer & Consultant, push-based.io | Austria
Senior Software Engineer, Snowflake | Canada
Software Architect, Scania Group | Sweden
Developer Evangelist for Web and Cloud and Generative AI, UK
Full Stack Engineer, push-based.io | Austria
Trainer and Consultant, AngularArchitects.io | Austria
Core Team NgRx & AnalogJS, SMG | Serbia
Consultant and Author, softwarearchitekt.at | Austria
GDE, Trainer, Senior Software Engineer, Push-Based.io | Albania
Sign up to receive updates about JS Poland, including workshops, speaker previews, ticket launches, JS Awards, JavaScript Master Podcast, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.