mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
425 B
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 baselinemain- the same code as thebaseline, but Angular uses hydration and matches existing DOM nodes instead of creating new ones
The benchmarks are based on largetable benchmarks.