I'm going to put on VPS nginx, PHP 7 and Wordpress.

There are a lot of different plugins for this CMS and some of them are pretty crookedly written. I understand that the pursuit of every extra millisecond is usually a silly idea, but I recently discovered that the Ultimate Addons for Visual Composer plug-in created a huge load on the CPU, as a result of which the admin was loaded 6 times longer.

In general, I need a way to track the load on the processor and memory (or the relative percentage load) for each of the installed plugins. A few years ago, I used the P3 Plugin Profiler . But it has not been updated for a long time, and also does not support PHP 7. At the moment there are no alternative plugins.

Are there any extensions / modules for nginx or php that can complete the task? I heard about the New Relic service, but the prices there are very high.

  • Profiling with phpStorm + xDebug - KAGG Design

1 answer 1

Are there any extensions / modules for nginx or php that can complete the task?

xdebug, Kcachegrind, etc.
Plug-ins like https://wordpress.org/plugins/query-monitor/

I also recommend watching these developer reports:
https://wordpress.tv/2015/08/20/konstantin-kovshenin-wordpress-performance-killers/
https://wordpress.tv/2016/10/08/konstantin-kovshenin-memory-devourers-in-wordpress/
https://wordpress.tv/2013/08/19/konstantin-kovshenin-wordpress-site-speed/
https://wordpress.tv/2014/08/25/gennady-kovshenin-profiling-wordpress/