Discussion:
Tracking memory usage without turning plugins on/off one-by-one
David Anderson
2013-11-25 07:40:21 UTC
Permalink
Hi,

Is there a good, efficient way to track the memory usage of
plugins/themes in WordPress other than "turn them on/off one by one"?
Not just final memory usage (after everything's loaded), but peak memory
usage too?

e.g. Can is there a good way to answer questions like "when the peak
memory usage during load is hit, which parts of WordPress were the main
culprits?"

Many thanks,
David
--
WordShell - WordPress fast from the CLI - www.wordshell.net
Azizur Rahman
2013-11-25 09:16:46 UTC
Permalink
You can use PHP: Xhprof to profile everything and get some useful details.
http://us2.php.net/xhprof

Kind Regards,
Azizur Rahman

----
Do you need cost-effective web hosting solution and Domain name try
http://prodevstudio.com

Missed the last Friday Khutbah, try catchup a Khutbah on-line now at
http://fridaykhutbah.com
Hi,
Is there a good, efficient way to track the memory usage of plugins/themes
in WordPress other than "turn them on/off one by one"? Not just final
memory usage (after everything's loaded), but peak memory usage too?
e.g. Can is there a good way to answer questions like "when the peak
memory usage during load is hit, which parts of WordPress were the main
culprits?"
Many thanks,
David
--
WordShell - WordPress fast from the CLI - www.wordshell.net
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Paul Menard
2013-11-25 12:00:33 UTC
Permalink
Found this the other day. Have not had a chance to try it.

https://github.com/johnbillion/QueryMonitor



On Mon, Nov 25, 2013 at 4:16 AM, Azizur Rahman <
Post by Azizur Rahman
You can use PHP: Xhprof to profile everything and get some useful details.
http://us2.php.net/xhprof
Kind Regards,
Azizur Rahman
----
Do you need cost-effective web hosting solution and Domain name try
http://prodevstudio.com
Missed the last Friday Khutbah, try catchup a Khutbah on-line now at
http://fridaykhutbah.com
Post by David Anderson
Hi,
Is there a good, efficient way to track the memory usage of
plugins/themes
Post by David Anderson
in WordPress other than "turn them on/off one by one"? Not just final
memory usage (after everything's loaded), but peak memory usage too?
e.g. Can is there a good way to answer questions like "when the peak
memory usage during load is hit, which parts of WordPress were the main
culprits?"
Many thanks,
David
--
WordShell - WordPress fast from the CLI - www.wordshell.net
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Frank Bueltge
2013-11-25 12:46:26 UTC
Permalink
Also possible
http://wordpress.org/plugins/debug-objects/

Best
Frank
Post by Paul Menard
Found this the other day. Have not had a chance to try it.
https://github.com/johnbillion/QueryMonitor
On Mon, Nov 25, 2013 at 4:16 AM, Azizur Rahman <
Post by Azizur Rahman
You can use PHP: Xhprof to profile everything and get some useful
details.
Post by Azizur Rahman
http://us2.php.net/xhprof
Kind Regards,
Azizur Rahman
----
Do you need cost-effective web hosting solution and Domain name try
http://prodevstudio.com
Missed the last Friday Khutbah, try catchup a Khutbah on-line now at
http://fridaykhutbah.com
Post by David Anderson
Hi,
Is there a good, efficient way to track the memory usage of
plugins/themes
Post by David Anderson
in WordPress other than "turn them on/off one by one"? Not just final
memory usage (after everything's loaded), but peak memory usage too?
e.g. Can is there a good way to answer questions like "when the peak
memory usage during load is hit, which parts of WordPress were the main
culprits?"
Many thanks,
David
--
WordShell - WordPress fast from the CLI - www.wordshell.net
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
John Blackbourn
2013-11-25 12:49:54 UTC
Permalink
P3 works well: http://wordpress.org/plugins/p3-profiler/

Also http://wpgear.org/ is a great directory of resources for WP developers.

John
Post by Frank Bueltge
Also possible
http://wordpress.org/plugins/debug-objects/
Best
Frank
Post by Paul Menard
Found this the other day. Have not had a chance to try it.
https://github.com/johnbillion/QueryMonitor
On Mon, Nov 25, 2013 at 4:16 AM, Azizur Rahman <
Post by Azizur Rahman
You can use PHP: Xhprof to profile everything and get some useful
details.
Post by Azizur Rahman
http://us2.php.net/xhprof
Kind Regards,
Azizur Rahman
----
Do you need cost-effective web hosting solution and Domain name try
http://prodevstudio.com
Missed the last Friday Khutbah, try catchup a Khutbah on-line now at
http://fridaykhutbah.com
Post by David Anderson
Hi,
Is there a good, efficient way to track the memory usage of
plugins/themes
Post by David Anderson
in WordPress other than "turn them on/off one by one"? Not just final
memory usage (after everything's loaded), but peak memory usage too?
e.g. Can is there a good way to answer questions like "when the peak
memory usage during load is hit, which parts of WordPress were the
main
Post by Paul Menard
Post by Azizur Rahman
Post by David Anderson
culprits?"
Many thanks,
David
--
WordShell - WordPress fast from the CLI - www.wordshell.net
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Frank Bueltge
2013-11-25 12:57:12 UTC
Permalink
Debug Objects have not a saving mechanism to track about long time, only
load and check, what load and you see, the current page. see screenshot.
https://www.diigo.com/item/image/1j30r/krdm

Alternative is https://github.com/rmccue/Hopper,
https://bitbucket.org/Rarst/laps
or without WordPress is Webgrind very helpfull -
https://github.com/jokkedk/webgrind

Loading...