You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw the dbal collector,
it could be really cool to add time to the collector too (maybe using stopwatch?)
and could also be really awesome to have a twig profiler (like memory? time?)
with that we can make info like:
"your average req time is 200ms, with 100ms of DB calls, 50 ms of twig rendering and 50 ms of other php stuffs."
i try to look for a hint to follow, but i'm really not sure :s
Thanks :)
The text was updated successfully, but these errors were encountered:
Hi @eMerzh, have you looked into MemoryStatsCollector and TimeStatsCollector ? They seem to do what you're looking for.
I have trouble figuring out what a generic twig profiler could look like, but if you have some specific case to implement, I encourage you to extend the StatsCollector class.
I saw the dbal collector,
it could be really cool to add time to the collector too (maybe using stopwatch?)
and could also be really awesome to have a twig profiler (like memory? time?)
with that we can make info like:
"your average req time is 200ms, with 100ms of DB calls, 50 ms of twig rendering and 50 ms of other php stuffs."
i try to look for a hint to follow, but i'm really not sure :s
Thanks :)
The text was updated successfully, but these errors were encountered: