Angular Performance Optimization
The performance boost for your Angular applications – professional audits, load time and runtime optimization with current Angular v22 features.
- Duration
- 2 days
- Format
- Online – on site on request
- Audience
- Angular developers
- Next date
- Request a date at Angular Architects

What it covers
Performance determines whether an Angular app feels fast, converts well, and is accepted in day-to-day use. In this workshop, we analyze the typical causes of slow Angular applications: large bundles, inefficient loading paths, expensive templates, unnecessary change detection, third-party code, and missing measurement.
To start, we set up the tools for agentic software engineering in the Angular performance context: Codex, Claude Code, IDE integration, and other tools. Then we work with a professional performance audit framework and the same tools the trainer uses in customer projects: Lighthouse, PageSpeed, WebPageTest, Chrome DevTools, Angular DevTools, bundle analysis, and real user monitoring.
After that, we optimize load time and runtime performance with current Angular v22 features: @defer, NgOptimizedImage, SSR/SSG, hybrid rendering, server routes, hydration, event replay, incremental hydration, Signals, OnPush, and zoneless change detection. Hands-on labs help participants apply the techniques in practice; if needed, we also analyze real project problems from participants.
By the end of the workshop, you will be able to
- measure the performance of your Angular app with a professional audit framework and prioritize problems
- optimize load time and runtime performance with current Angular v22 features
- use agentic workflows with Codex and Claude Code for performance audits and fixes
Prerequisites
- solid Angular fundamentals and initial project experience
- ideally your own project or concrete performance problems from your daily work
- helpful: access to an active subscription for Anthropic or OpenAI for the agentic exercises
Highlights
- ✅ Online – or on site with your team on request
- ✅ Proven and cutting-edge best practices for Angular v21/v22 apps
- ✅ Agentic Software Engineering with Codex, Claude Code, and Angular CLI MCP
- ✅ Interactive: Ask questions and engage in discussions
- ✅ Live coding, exercises & pair programming with the trainer
- ✅ Live audits: performance analysis of participants' real projects
- ✅ Case study that serves as a blueprint for your own projects
Agenda
Part 1: Agentic Software Engineering Setup for Angular Performance
- Project setup: Angular, Git, ESLint (including performance rules)
- Highlight: Our Angular Best Practices Rules & Style Guide for AI and teams: custom rules based on the official Angular best practices, extended with additional refinements, special rules, and project guardrails for AI tools; including custom Agent Skills for performance checks and other topics
- Codex: CLI, IDE extensions vs app, different modes, Git worktrees, automations
- Claude Code: CLI, IDE extensions vs app, Plan, Goal, checkpoints, and diff review
- Best practices for VS Code, JetBrains, and other IDEs, other apps/tools & models
- Agentic workflows: analyze a performance issue, create a plan, implement a patch, run builds/tests, prepare the review, human-in-the-loop
Part 2: Professional Performance Audits & Tools
- Performance audit framework and Core Web Vitals target model (LCP, INP, CLS)
- Google PageSpeed, Chrome Lighthouse, and performance budgets in CI
- WebPageTest.org, the web-vitals library (including attribution), and Real User Monitoring
- Chrome DevTools Performance panel including Angular Profiling Track
- Angular DevTools: Components, Profiler, Signal Graph, Route Visualization, and Transfer State
- Source Map Explorer, Bundle Analyzer, and ImportGraphVisualizer
- AI-assisted audit: summarize measurement data, prioritize hypotheses, and derive an action plan
Part 3: Optimizing Load Times for Angular Apps
- Classic web performance optimizations: fonts, critical CSS, and resource hints (preload, preconnect, fetchpriority)
- Optimization of bundle size, tree shaking, and dependency boundaries
- 3rd-party libraries, CSS, and component frameworks
- Lazy loading, preloading strategies, and router-based code splitting
- Deferrable Views with @defer triggers, prefetch, and viewport options
- NgOptimizedImage (ngSrc) directive for images
- Server-side rendering (SSR), static site generation (SSG), hybrid rendering, and server routes
- Hydration, event replay, and incremental hydration (default since v22)
- Prerendering with getPrerenderParams() and deployment
Part 4: Optimizing Angular Runtime Performance
- Change Detection explained, OnPush, and stable Signals APIs
- Zoneless change detection: default for new apps
- OnPush-by-default (v22): migration and explicitly eager Change Detection
- Change Detection optimization, ChangeDetectorRef, and exhaustive checks
- High-performance reactive rendering with signal, computed, linkedSignal, toSignal, resource, and httpResource
- Angular templates: pipes, flags, @for track, regex, and template literals
- CDK virtual scrolling and UX improvements for large data sets
- INP optimization: breaking up long tasks, scheduler.yield(), and main-thread hygiene
- Memory profiling: heap snapshots, detached DOM, and typical leak sources (subscriptions, effects)
- RxJS subscription best practices
Part 5: Live Audits, Current Angular Updates & Further Optimizations
- Live audits: joint performance analysis of participants' projects
- Angular updates, migrations, Vitest, Angular ARIA, and Material/CDK improvements
- Angular resolver alternatives and best practices for API communication
- Service workers (PWA), web workers, and scheduling
- Nx, Vite, esbuild, and Application Builder
- Case study and conclusion