Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Added information to Symfony's profiler "performance" tab for component rendering #1751

Draft
wants to merge 2 commits into
base: 2.2
Choose a base branch
from

Conversation

Steveb-p
Copy link
Contributor

@Steveb-p Steveb-p commented May 7, 2021

Question Answer
Tickets N/A
Bug fix? no
New feature? yes
BC breaks? no
Doc needed? no
License GPL-2.0

This PR adds dev mode decoration for one the services, which adds debug.stopwatch around the method calls to add them into performance tab in Symfony's profiler.

This also changes the renderer to emit both group and single events, when iterating over group components for rendering.

image

WDYT?

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@Steveb-p Steveb-p changed the base branch from master to 2.2 May 7, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant