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

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
Toxyy
Registered User
Posts: 688
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

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

Post by Toxyy » Fri Oct 19, 2018 2:33 am

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?
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][BETA] Sticky Ad || [3.2][RC] Show User Activity ||
[3.2][DEV] User Delete Topics

User avatar
rubencm
Development Team Member
Development Team Member
Posts: 78
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain

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

Post by rubencm » Fri Oct 19, 2018 8:09 am

blackfire.io

User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 3655
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

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

Post by kasimi » 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.

User avatar
Toxyy
Registered User
Posts: 688
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

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

Post by Toxyy » 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?
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.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][BETA] Sticky Ad || [3.2][RC] Show User Activity ||
[3.2][DEV] User Delete Topics

User avatar
3Di
Former Team Member
Posts: 13584
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

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

Post by 3Di » Fri Oct 19, 2018 6:02 pm

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
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
__________________________________
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
rubencm
Development Team Member
Development Team Member
Posts: 78
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain

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

Post by rubencm » Sat Oct 20, 2018 4:26 am

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

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4809
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

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

Post by VSE » Tue Oct 23, 2018 4:01 pm

You can also try using this extension:
https://github.com/Nicofuma/phpbb-ext-w ... r/releases
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
david63
Registered User
Posts: 15930
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

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

Post by david63 » Tue Oct 23, 2018 4:36 pm

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.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Post Reply

Return to “Extension Writers Discussion”