Replies: 2 comments 10 replies
-
To be more precise, it starts when the kernel is booted and ends when the Most of the initialization time is spent initializing bundles and the container, so it does not really make sense to try improving it on your end: running your application on a fresh build (which should always happen on prod) should be enough to greatly reduce this time. I guess the hardware can make a significant impact too: on an old PC I have initializations taking more than 400ms without any cache, and 4ms when it is fresh. |
Beta Was this translation helpful? Give feedback.
-
Hi, Would you have any advice on how to investigate? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot seem to find documentation regarding
Symfony initialization
in context of the profiler.The example screenshot above denotes
225 ms
initialization time (I have +/-200 ms
on every page for this metric), but there's no graph or explanation on where the initialization time comes from.So my questions are:
200 ms
regarded as "normal" for a standard Symfony application?Version
7.0.5
8.3.3
I've already checked the Performance Checklists and tried the followings settings, which doesnt improve the initialization time performance on dev (debug).
.container.dumper.inline_factories: true
debug.container.dump: false
Beta Was this translation helpful? Give feedback.
All reactions