Skip to content

perf(platform-browser): do not remove renderer from cache when REMOVE_STYLES_ON_COMPONENT_DESTROY is enabled.#51005

Closed
alan-agius4 wants to merge 1 commit intoangular:mainfrom
alan-agius4:renderer-cache
Closed

perf(platform-browser): do not remove renderer from cache when REMOVE_STYLES_ON_COMPONENT_DESTROY is enabled.#51005
alan-agius4 wants to merge 1 commit intoangular:mainfrom
alan-agius4:renderer-cache

Conversation

@alan-agius4
Copy link
Copy Markdown
Contributor

Removing the renderer from cache is not needed when REMOVE_STYLES_ON_COMPONENT_DESTROY is enabled. This change retains the behaviour of keeping the renderer cached for the entire lifecycle of the application the same way it is done when REMOVE_STYLES_ON_COMPONENT_DESTROY is disabled.

This seems to have be causing an increase in scripting. See: http://b/290666638

…E_STYLES_ON_COMPONENT_DESTROY` is enabled.

Removing the renderer from cache is not needed when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is enabled. This change retains the behaviour of keeping the renderer cached for the entire lifecycle of the application the same way it is done when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is disabled.

This seems to have be causing an increase in scripting. See: http://b/290666638
@alan-agius4 alan-agius4 marked this pull request as ready for review July 11, 2023 16:02
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Jul 11, 2023
@AndrewKushnir AndrewKushnir added area: core Issues related to the framework runtime and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 11, 2023
@ngbot ngbot bot modified the milestone: Backlog Jul 11, 2023
@dylhunn
Copy link
Copy Markdown
Contributor

dylhunn commented Jul 11, 2023

This PR was merged into the repository by commit f1b6299.

@dylhunn dylhunn closed this in f1b6299 Jul 11, 2023
dylhunn pushed a commit that referenced this pull request Jul 11, 2023
…E_STYLES_ON_COMPONENT_DESTROY` is enabled. (#51005)

Removing the renderer from cache is not needed when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is enabled. This change retains the behaviour of keeping the renderer cached for the entire lifecycle of the application the same way it is done when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is disabled.

This seems to have be causing an increase in scripting. See: http://b/290666638

PR Close #51005
@alan-agius4 alan-agius4 deleted the renderer-cache branch July 11, 2023 17:18
sunilbaba pushed a commit to sunilbaba/angular that referenced this pull request Jul 26, 2023
…E_STYLES_ON_COMPONENT_DESTROY` is enabled. (angular#51005)

Removing the renderer from cache is not needed when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is enabled. This change retains the behaviour of keeping the renderer cached for the entire lifecycle of the application the same way it is done when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is disabled.

This seems to have be causing an increase in scripting. See: http://b/290666638

PR Close angular#51005
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 11, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…E_STYLES_ON_COMPONENT_DESTROY` is enabled. (angular#51005)

Removing the renderer from cache is not needed when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is enabled. This change retains the behaviour of keeping the renderer cached for the entire lifecycle of the application the same way it is done when `REMOVE_STYLES_ON_COMPONENT_DESTROY` is disabled.

This seems to have be causing an increase in scripting. See: http://b/290666638

PR Close angular#51005
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants