-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.4.x |
When you trigger a lot of deprecations, they will be stored in the profiler. However, this causes a massive performance hit on all dev pages triggering those. from 5 to 89 deprecations, causes the profiler listener to go from roughly 300 to 900ms.
For 3.4, this deprecation is causing most issues:
@trigger_error(sprintf('Requesting the "%s" private service is deprecated since Symfony 3.2 and won\'t be supported anymore in Symfony 4.0.', $id), E_USER_DEPRECATED); |
The cause seems to be the amount of unserialize function calls in the Stub. Stub::unserialize()
goes from 4870
to 23570
.
wouterj, theofidry, kaznovac and Yippy