angular/modules/benchmarks/src/defer
Matthieu Riegler eae8f7e30b feat(core): Set default Component changeDetection strategy to OnPush
The default change detection strategy is now OnPush.

BREAKING CHANGE: Component with undefined `changeDetection` property are now `OnPush` by default. Specify `changeDetection: ChangeDetectionStrategy.Eager` to keep the previous behavior.
2026-03-24 16:25:02 -07:00
..
baseline feat(core): Set default Component changeDetection strategy to OnPush 2026-03-24 16:25:02 -07:00
main feat(core): Set default Component changeDetection strategy to OnPush 2026-03-24 16:25:02 -07:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
defer.e2e-spec.ts build: initial test of TypeScript 6 2026-01-15 13:41:01 -08:00
defer.perf-spec.ts build: initial test of TypeScript 6 2026-01-15 13:41:01 -08:00
init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
README.md build: format md files 2025-11-06 10:03:05 -08:00
util.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00

Defer benchmark

This folder contains defer benchmark that tests the process of @defer block creation.

There are 2 folders in this benchmark:

  • baseline - renders a component using an @if condition, we use it as a baseline
  • main - the same code as the baseline, but instead of the @if, we use @defer to compare defer blocks against conditionals

The benchmarks are based on largetable benchmarks.