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: 938
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

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

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

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
rubencm
Development Team Member
Development Team Member
Posts: 104
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain

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

Post by rubencm »

blackfire.io
User avatar
kasimi
Former Team Member
Posts: 4900
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

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

Post by kasimi »

You can use Xdebug 2.6 or later to generate timing & memory profiles and QCacheGrind to visualize them.
User avatar
Toxyy
Registered User
Posts: 938
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

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

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

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

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

Post 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
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
rubencm
Development Team Member
Development Team Member
Posts: 104
Joined: Fri Oct 05, 2007 2:24 pm
Location: Spain

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

Post 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
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5859
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

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

Post by MattF »

You can also try using this extension:
https://github.com/Nicofuma/phpbb-ext-w ... r/releases
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

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

Post 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.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Post Reply

Return to “Extension Writers Discussion”