angular/modules/benchmarks/src/defer/README.md
Andrew Kushnir c76cac25eb test(core): add benchmark for defer runtime logic (#52222)
This commit adds a benchmark for `@defer` runtime logic and uses `@if` as a baseline.

PR Close #52222
2023-10-18 12:06:44 -07:00

418 B

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.