PHP/MySQL CPU performance statistics


CPU performance testing:
This plugin does various calculations and string manipulations on your PHP webserver
and your MySQL database server. To further test the MySQL server, a sequence of MySQL
inserts, selects, updates and deletes are performed in a separate custom database table
(we do not use your WordPress tables for this).

Network testing:
The network is tested by fetching directly from Google’s CDN / apis network. Fetching from the Google
apis network gives you the nearest server, and will give more accurate results. We also fetch a small 1Mb
file from our servers as well in case the Google apis is down. The network tests are not yet shown in the
graphs, we are working on this 🙂

After the sequence of tests has finished, the results will be displayed for you to evaluate. MySQL results can
vary depending on the type of connection your webserver has to the MySQL server. If a «local socket» connection
is used a typical result for the MySQL query test is 0.05-0.25 seconds. Web hosting providers with dedicated MySQL
servers will show a slower time/queries per second, as a TCP/IP connection to the MySQL server is made instead of
a local socket connection.

There are many factors that will determine how fast your website will run. This plugin does not test
for how many hits/requests per second your provider allows to your website, file system performance is not tested
either. Use it as a performance test to assess how fast a CPU your provider has allocated to your webserver
and your MySQL database backend.

Share with your friends, let’s start a competition and see who’s got the fastests servers (hint) 🙂


This section describes how to install the plugin and get it working.


  1. Upload mywebtonet-performancestats folder after extracting the zip file, upload to the /wp-content/plugins/ directory or simply upload the zip file from the admin panel.
  2. Активируйте плагин используя меню ‘Плагины’ в WordPress
  3. Click Performance test in the menu!



I had to measure the performance of my two local machines (a laptop and a desktop). This plugin came in handy to do exactly that. I only wish that there was a way to export the results for future ref!

Has bad coding and security practices

As noted in our unanswered support request of almost two months ago, this plugin has bad coding and security practices.

The plugin author uses file_get_contents() to retrieve URLS instead of the WordPress HTTP API. Even cURL would have been better, although the HTTP API is the preferred method.

It also leaves the possibility of MitM attacks.

See the support request for details.

Avoid this. The developers have no clue what they are doing, IMO. Sorry to be harsh, but considering what we do for a living (security), we have a low tolerance for developers who put user sites at risk out of sheer negligence or ignorance.

Посмотреть все 13 отзывов

Участники и разработчики

«PHP/MySQL CPU performance statistics» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


Перевести «PHP/MySQL CPU performance statistics» на ваш язык.

Заинтересованы в разработке?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Журнал изменений


  • This is the first stable release of this plugin.


  • Minor correction in the submit results section.


  • Now with graphs 🙂 Thanks to


Now with even more graphs 🙂 Now your fastest and slowest times are logged in the database.


Minor code changes.


Query test added.


Minor changes. Tested on WordPress 3.8.


Now with network testing tool


More PHP information + webserver type/version


Minor update


Only calling apache_get_version() if function exists


Some servers reports one or more of the MySQL tests at 0.00 seconds, which
is impossible. This now triggers an error.


Added path and gateway interface


Added missing ?> in main script, for some reason it doesnt work with all php versions without it.


Minor code changes + split the network test into two seperate tests


We have done some minor code changes as some webservers require


instead of just



Minor code corrections


Some servers failed to do the network test (openssl errors). We now do the test directly from a nonssl enabled server.


Now with PHP 7.0(RC5) figures.


Tested with PHP 7.1. For network testing we have changed so we no longer use file_get_contents but curl instead, this makes the plugin more compatible with almost all webserver configurations.


Minor update to the network test.