would it possible to add memory usage information in the TimeDataCollector (so there would be a need of renaming it of course ;) ?
This could be quite helpful for analysing memory usage of the requests because for a good profiling, both time and memory usage information are useful.
Since we have memory issue with Symfony2 on our application, I modified mainly the Stopwatch and StopwatchEvent classes in order to add calls to memory_get_usage(true); here and there and created an additional DataCollector, but it's quite similar to the TimeDataCollector, and it would be nice to have all information on the timeline diagram.
> would it possible to add memory usage information in the TimeDataCollector (so there would be a need of renaming it of course ;) ?
> This could be quite helpful for analysing memory usage of the requests because for a good profiling, both time and memory usage information are useful.
> Since we have memory issue with Symfony2 on our application, I modified mainly the Stopwatch and StopwatchEvent classes in order to add calls to memory_get_usage(true); here and there and created an additional DataCollector, but it's quite similar to the TimeDataCollector, and it would be nice to have all information on the timeline diagram.
Hi, If you want to profile your php stack in the production env XHprof is
the correct tool,
if you want to motorize your server memory see Nagios, Munin, cacti, New
Relic etc..
but if you want an application-level monitoring, I suggest to see this
bundle
https://github.com/liuggio/StatsDClientBundle It uses statsd+graphite, you could do a lot of thinks and there are some
data collector ready to use for example for the memory usage.
Statsd was created by Etsy and is a really useful.
> On 08-11-2012, at 08:40, Christophe L <cl.subscript...@gmail.com> wrote:
> > Hello,
> > would it possible to add memory usage information in the
> TimeDataCollector (so there would be a need of renaming it of course ;) ?
> > This could be quite helpful for analysing memory usage of the requests
> because for a good profiling, both time and memory usage information are
> useful.
> > Since we have memory issue with Symfony2 on our application, I modified
> mainly the Stopwatch and StopwatchEvent classes in order to add calls to
> memory_get_usage(true); here and there and created an additional
> DataCollector, but it's quite similar to the TimeDataCollector, and it
> would be nice to have all information on the timeline diagram.
> > Thanks in advance for your feedback.
> > Best regards,
> > Christophe
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to symfony-devs@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-devs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
__/|_ We reject kings, presidents and voting.
/o ) \/ We believe in rough consensus
)__ v _/\ and running code (I.E.T.F. credo)
______________________________________________________________
> Hi, If you want to profile your php stack in the production env XHprof is the correct tool,
> if you want to motorize your server memory see Nagios, Munin, cacti, New Relic etc..
> but if you want an application-level monitoring, I suggest to see this bundle
> https://github.com/liuggio/StatsDClientBundle > It uses statsd+graphite, you could do a lot of thinks and there are some data collector ready to use for example for the memory usage.
> Statsd was created by Etsy and is a really useful.
> would it possible to add memory usage information in the
> TimeDataCollector (so there would be a need of renaming it of course ;) ?
> This could be quite helpful for analysing memory usage of the requests
> because for a good profiling, both time and memory usage information are
> useful.
> Since we have memory issue with Symfony2 on our application, I modified
> mainly the Stopwatch and StopwatchEvent classes in order to add calls to
> memory_get_usage(true); here and there and created an additional
> DataCollector, but it's quite similar to the TimeDataCollector, and it
> would be nice to have all information on the timeline diagram.
> Thanks in advance for your feedback.
> Best regards,
> Christophe
> --
> If you want to report a vulnerability issue on symfony, please send it
> to security at symfony-project.com
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to symfony-devs@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-devs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
> would it possible to add memory usage information in the TimeDataCollector > (so there would be a need of renaming it of course ;) ?
> This could be quite helpful for analysing memory usage of the requests > because for a good profiling, both time and memory usage information are > useful.
> Since we have memory issue with Symfony2 on our application, I modified > mainly the Stopwatch and StopwatchEvent classes in order to add calls to > memory_get_usage(true); here and there and created an additional > DataCollector, but it's quite similar to the TimeDataCollector, and it > would be nice to have all information on the timeline diagram.