angular/modules/benchmarks/src/hydration/README.md
Andrew Kushnir 7981aad30e test(core): add benchmark for hydration runtime logic (#52206)
This commit adds a benchmark for hydration runtime logic, which contains 2 parts: a baseline (create DOM nodes from scratch) and a main scenario (DOM matching instead of re-creating nodes).

PR Close #52206
2023-10-18 12:07:12 -07:00

425 B

Hydration benchmark

This folder contains hydration benchmark that tests the process of matching DOM nodes at runtime.

There are 2 folders in this benchmark:

  • baseline - renders a component without hydration, we use it as a baseline
  • main - the same code as the baseline, but Angular uses hydration and matches existing DOM nodes instead of creating new ones

The benchmarks are based on largetable benchmarks.