mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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. |
||
|---|---|---|
| .. | ||
| baseline | ||
| main | ||
| BUILD.bazel | ||
| defer.e2e-spec.ts | ||
| defer.perf-spec.ts | ||
| init.ts | ||
| README.md | ||
| util.ts | ||
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@ifcondition, we use it as a baselinemain- the same code as thebaseline, but instead of the@if, we use@deferto compare defer blocks against conditionals
The benchmarks are based on largetable benchmarks.