angular/modules/benchmarks/src/defer
Paul Gschwendtner 9d7768ccd6 build: rework benchmarks and examples in modules/ to new optimization rule (#61566)
We are dropping the custom ESBuild and Terser pipeline from dev-infra
and instead leverage the Angular CLI directly. This commit adjusts
the benchmarks to use this new rule.

PR Close #61566
2025-05-29 14:39:11 -04:00
..
baseline build: rework benchmarks and examples in modules/ to new optimization rule (#61566) 2025-05-29 14:39:11 -04:00
main build: rework benchmarks and examples in modules/ to new optimization rule (#61566) 2025-05-29 14:39:11 -04:00
BUILD.bazel build: rework benchmarks and examples in modules/ to new optimization rule (#61566) 2025-05-29 14:39:11 -04:00
defer.e2e-spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
defer.perf-spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
init.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
README.md test(core): add benchmark for defer runtime logic (#52222) 2023-10-18 12:06:44 -07: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.