angular/packages/animations/browser/testing/src
JoostK 5c7c56bc85 perf(animations): improve algorithm to balance animation namespaces (#45057)
The prior approach would consider all existing namespaces from back to front
to find the one that's the closest ancestor for a given host element. An
expensive `contains` operation was used which needed to traverse all the
way up the document root _for each existing namespace_. This commit implements
an optimization where the closest namespace is found by traversing up from
the host element, avoiding repeated DOM traversal.

Closes #45055

PR Close #45057
2022-02-16 13:48:51 -08:00
..
mock_animation_driver.ts perf(animations): improve algorithm to balance animation namespaces (#45057) 2022-02-16 13:48:51 -08:00
testing.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00