Skip to content

Conversation

smnandre
Copy link
Member

Q A
Bug fix? yes
New feature? no
Issues Fix #1540
License MIT

As $event->getVariables() get the full context for non-embed components, this led to huge data stored for every component called during the request. (see #1540)

As this is internal data, and the "variables" was not used in the profiler, I believe we should consider this a bug and simply remove it.

As $event->getVariables() get the full context for non-embed components, this led to huge data stored
for every component called during the request.

As this is internal data, and the "variables" was not used in the profiler, I believe we should consider this a bug
and simply remove it.
@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Feb 27, 2024
@weaverryan
Copy link
Member

Thanks Simon!

@weaverryan weaverryan merged commit b72aeaa into symfony:2.x Feb 29, 2024
@alinceDev
Copy link

Thanks Simon !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TwigComponent] Profiler, memory consumption
4 participants