Symfony 3 - profiling performance

家住魔仙堡 提交于 2020-01-04 04:19:06

问题


Is it possible to get more/deeper data about the Symfony speed/slowness than seen at the image below?

As you see it says that the "controller" process takes around 8s (in dev mode), but I would like to know more about it - what actually Symfony does in this 8 seconds. Obviously the form on the screen is a bit heavy and it takes almost 2s to render it, but that's still less than ~25% of time.

This case is among the better ones, it can go to 15-20s, but I've just caught this one on screen. I've tried milli-measuring the speed inside the controller action, but that takes just a small portion of this 8s.

I looked around but couldn't find any details on profiling it precisely. I presume it has to do with the DB objects hydrating, but can't confirm that from this screen. Thanks.

来源:https://stackoverflow.com/questions/41237605/symfony-3-profiling-performance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!