Page 1 of 1

Php profiling tools? What's using my ram/cpu?

Posted: Fri Oct 19, 2018 2:33 am
by Toxyy
So my ram limit got exceeded, likely by the extension I'm working on... what are some good php profiling tools so I can figure out exactly what's eating it up?

Re: Php profiling tools? What's using my ram/cpu?

Posted: Fri Oct 19, 2018 8:09 am
by rubencm
blackfire.io

Re: Php profiling tools? What's using my ram/cpu?

Posted: Fri Oct 19, 2018 10:03 am
by kasimi
You can use Xdebug 2.6 or later to generate timing & memory profiles and QCacheGrind to visualize them.

Re: Php profiling tools? What's using my ram/cpu?

Posted: Fri Oct 19, 2018 4:21 pm
by Toxyy
rubencm wrote:
Fri Oct 19, 2018 8:09 am
blackfire.io
Is there only a paid option though? How is it vs xdebug and qcachegrind?
kasimi wrote:
Fri Oct 19, 2018 10:03 am
You can use Xdebug 2.6 or later to generate timing & memory profiles and QCacheGrind to visualize them.
Thanks, I ended up using this. It's not as in depth as I'd liked, but it's helped me find a couple of memory drains so far so I can't complain.

Re: Php profiling tools? What's using my ram/cpu?

Posted: Fri Oct 19, 2018 6:02 pm
by 3Di
Toxyy wrote:
Fri Oct 19, 2018 4:21 pm
rubencm wrote:
Fri Oct 19, 2018 8:09 am
blackfire.io
Is there only a paid option though?
free: https://blackfire.io/signup

Re: Php profiling tools? What's using my ram/cpu?

Posted: Sat Oct 20, 2018 4:26 am
by rubencm
Toxyy wrote:
Fri Oct 19, 2018 4:21 pm
rubencm wrote:
Fri Oct 19, 2018 8:09 am
blackfire.io
Is there only a paid option though? How is it vs xdebug and qcachegrind?
No idea, i used this a few months ago for free, maybe i used the trial, i don't remember.
Looks similar than qcachegrind

Re: Php profiling tools? What's using my ram/cpu?

Posted: Tue Oct 23, 2018 4:01 pm
by VSE
You can also try using this extension:
https://github.com/Nicofuma/phpbb-ext-w ... r/releases

Re: Php profiling tools? What's using my ram/cpu?

Posted: Tue Oct 23, 2018 4:36 pm
by david63
VSE wrote:
Tue Oct 23, 2018 4:01 pm
You can also try using this extension:
https://github.com/Nicofuma/phpbb-ext-w ... r/releases
I didn't think that this works with 3.2.x - or at least I have never managed to get it to work without throwing up errors.