Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
add memory usage information in timeline data collector ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Christophe L  
View profile  
 More options Nov 8 2012, 2:40 am
From: Christophe L <cl.subscript...@gmail.com>
Date: Wed, 7 Nov 2012 23:40:54 -0800 (PST)
Local: Thurs, Nov 8 2012 2:40 am
Subject: [HttpKernel] add memory usage information in timeline data collector ?

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[HttpKernel] add memory usage information in timeline data collector ?" by Jasper N. Brouwer
Jasper N. Brouwer  
View profile  
 More options Nov 8 2012, 4:00 am
From: "Jasper N. Brouwer" <jas...@nerdsweide.nl>
Date: Thu, 8 Nov 2012 10:00:00 +0100
Subject: Re: [symfony-devs] [HttpKernel] add memory usage information in timeline data collector ?
You might want to look at XHprof (https://github.com/facebook/xhprof), and maybe XHGui (https://github.com/preinheimer/xhprof).
It's a simple but complete profiler suitable for running on production applications (originally built for Facebook).

--
Jasper N. Brouwer

On 08-11-2012, at 08:40, Christophe L <cl.subscript...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
liuggio  
View profile  
 More options Nov 8 2012, 4:11 am
From: liuggio <liug...@gmail.com>
Date: Thu, 8 Nov 2012 10:11:26 +0100
Local: Thurs, Nov 8 2012 4:11 am
Subject: Re: [symfony-devs] [HttpKernel] add memory usage information in timeline data collector ?

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.

If you want to read more:
http://blog.servergrove.com/2012/10/09/interesting-symfony-bundles-st...
http://www.slideshare.net/liuggio/rationally-boost-your-symfony2-appl...

On Thu, Nov 8, 2012 at 10:00 AM, Jasper N. Brouwer <jas...@nerdsweide.nl>wrote:

--
 __________________liuggio_________________________________

  __/|_      We reject kings, presidents and voting.
/o )   \/    We believe in rough consensus
)__ v _/\          and running code  (I.E.T.F. credo)
______________________________________________________________


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jasper N. Brouwer  
View profile   Translate to Translated (View Original)
 More options Nov 8 2012, 5:01 am
From: "Jasper N. Brouwer" <jas...@nerdsweide.nl>
Date: Thu, 8 Nov 2012 11:01:46 +0100
Local: Thurs, Nov 8 2012 5:01 am
Subject: Re: [symfony-devs] [HttpKernel] add memory usage information in timeline data collector ?
StatsD + Graphite looks interesting. Thanx for the tip!

--
Jasper N. Brouwer

On 08-11-2012, at 10:11, liuggio <liug...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabien Potencier  
View profile  
 More options Nov 8 2012, 11:44 am
From: Fabien Potencier <fabien.potenc...@symfony-project.com>
Date: Thu, 08 Nov 2012 17:43:57 +0100
Local: Thurs, Nov 8 2012 11:43 am
Subject: Re: [symfony-devs] [HttpKernel] add memory usage information in timeline data collector ?
See https://github.com/symfony/symfony/pull/5944

--
Fabien Potencier
Sensio CEO - Symfony lead developer
sensiolabs.com | symfony.com | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 11/8/12 8:40 AM, Christophe L wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "add memory usage information in timeline data collector ?" by Christophe L
Christophe L  
View profile  
 More options Nov 9 2012, 1:25 am
From: Christophe L <cl.subscript...@gmail.com>
Date: Thu, 8 Nov 2012 22:25:09 -0800 (PST)
Local: Fri, Nov 9 2012 1:25 am
Subject: Re: [HttpKernel] add memory usage information in timeline data collector ?

Thanks for your feedbacks !

I use XHprof for profiling the app in details but I was looking for a more
practical way to profile memory in the day-to-day development.

The pullrequest seems to be exactly what I was looking for and I will look
at the StatsDClientBundle in the mean time.

Best regards,
Christophe

Le jeudi 8 novembre 2012 11:40:54 UTC+4, Christophe L a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic