angular/packages/core/test/bundling/defer
Paul Gschwendtner bb35414a38 perf(core): speed up retrieval of DestroyRef in EventEmitter (#54748)
Speeds up the retrieval of `DestroyRef` in `EventEmitter` because
`try/catch` is expensive if there is no injection context.

We saw a script time regression in Cloud.

The goldens had to be updated because `getInjectImplementation` is now
referenced. `inject` also references the underlying field, but directly.
This is super minimal overhead of a function exposing the internal
field.

PR Close #54748
2024-03-11 16:31:03 -07:00
..
BUILD.bazel test(core): add symbol tracking for @defer feature (#52065) 2023-10-06 12:11:29 -07:00
bundle.golden_symbols.json perf(core): speed up retrieval of DestroyRef in EventEmitter (#54748) 2024-03-11 16:31:03 -07:00
defer.component.ts test(core): add symbol tracking for @defer feature (#52065) 2023-10-06 12:11:29 -07:00
index.html refactor: standardize doctype declaration to <!DOCTYPE html> (#51052) 2024-02-01 19:29:46 +00:00
index.ts test(core): add symbol tracking for @defer feature (#52065) 2023-10-06 12:11:29 -07:00
treeshaking_spec.ts test(core): add symbol tracking for @defer feature (#52065) 2023-10-06 12:11:29 -07:00