Performance Lessons from the World's Largest Angular Application
summary
Google Cloud Console is a 100% Angular app with 16 million lines of code, ~2,000 contributors and ~4,000 routes; performance investigation uses client-observed latency percentiles, Zone JS to track async, and Angular DevTools profiling. Fixes include splitting a giant tree grid into tabbed tables, lazy-instantiating tab contents with ng-template mat-tab-content, moving charts into a deferred dynamic import to shrink a page bundle from ~5MB to ~3MB, and replacing 2,000 inputs with a paginated table; a slow page drops from 9s to 2.3s.
AI-written summary · about
chapters (8)
- 0:00Performance challenges
- 1:47Measuring with SLOs and latency
- 3:13Slow page with tree grid
- 6:44Tree grid into tabs
- 8:29Fixing eager initialization
- 10:58Reducing bundle size
- 13:47Forms to paginated tables
- 15:58Key takeaways
related talks
20mBuilding Platforms with Angular
23mPerformance optimizations in Angular
31mAngular Performance: Your App at the Speed of Light
20mAngular Performance in the Enterprise
38mIntroduction to AngularJS
40mNon-trivial optimization techniques in Angular
24mGCP: Migrating a 1M+ LOC project from AngularJS to Angular
20mTools for Fast Angular Applications
