admin管理员组文章数量:1122832
After installing several new plugins I discovered my site is getting slower. Is there a way to know which plugin utilizes the most resource without using the obvious method of activating/deactivating each plugin one by one?
After installing several new plugins I discovered my site is getting slower. Is there a way to know which plugin utilizes the most resource without using the obvious method of activating/deactivating each plugin one by one?
Share Improve this question asked Jan 9, 2012 at 11:01 Monty SwansonMonty Swanson 1251 silver badge4 bronze badges3 Answers
Reset to default 1Try this plugin: http://wordpress.org/extend/plugins/p3-profiler/
The P3 (Plugin Performance Profiler) has not been updated in 3 years. It's buggy and doesn't work with PHP 7.
If you use one of the major site performance testers, like GTMetrix, Pingdom or Google Pagespeed, you can use the waterfall feature to get good information, though it's not as easy as using the old P3.
Just go to the waterfall page and slowly move your mouse down over the list of requests. Each one will expand so you can read it as you highlight it. You're looking for requests of the form yoursite.com/wp-content/plugins/plugin-name/xxx. There will probably be a number of these, depending on your site configuration and the page you're testing. Sometimes there will be more than one for the same plugin.
Make a note of these as you find them, along with the timing for that request, which should be a little to the right of the request. If you see more than one for the same plugin, add the times together. When you've completed the list and done any required addition, you'll have a pretty good idea of which plugins are slowing you down.
Since I found this post today, I think it is worth to dig that out...
I found Code Profiler plugin:
https://wordpress.org/plugins/code-profiler
It gives you a nice overview over the plugins and their hunger for resources. The free version is working just well.
本文标签: performanceHow do I know which plugin uses the most resource
版权声明:本文标题:performance - How do I know which plugin uses the most resource? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736308904a1933822.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论