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).
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.
mywebtonet-performancestatsfolder after extracting the zip file, upload to the
/wp-content/plugins/directory or simply upload the zip file from the admin panel.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Click Performance test in the menu!
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.
A reviewed on WP Plugins A to Z Podcastwppluginsatoz.com
This plugin is for finding out how the server you are on is performing, it does a great job of performing some quick tests to see if you are on a quality server or not. This plugin runs some checks on your MySql to see how it is performing and then outputs the results to compare against some standards to see how your webserver is performing.
Rating 4 Dragons
Benchmarks PHP and MySQL and does various performance analysis on these. Especially MySQL analysis is good.
In general benchmarks are short, but quite informative.
A good tool for comparing different installations/servers.
Contributors & Developers
“PHP/MySQL CPU performance statistics” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- This is the first stable release of this plugin.
- Minor correction in the submit results section.
- Now with graphs 🙂 Thanks to http://www.ebrueggeman.com
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
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.