WPPerformanceTester was written as a tool to benchmark WordPress in the WordPress Hosting Performance Benchmarks (2015) by Review Signal. Current benchmarks are on WPHostingBenchmarks.com. It was designed to test the server’s performance by stressing PHP, MySql and running $wpdb queries.
WPPerformanceTester performs the following tests
- Math — 100,000 math function tests
- String Manipulation — 100,000 string manipulation tests
- Loops — 1,000,000 loop iterations
- Conditionals — 1,000,000 conditional logic checks
- MySql (connect, select, version, aes_encrypt) — basic mysql functions and 5,000,000 AES_ENCRYPT() iterations
- \$wpdb — 250 insert, select, update and delete operations through \$wpdb
It also allows you to see how your server’s performance stacks up against our industry benchmark. Our industry benchmark is the average of all submitted test results.
Notes on Performance
Performance can be measured in a lot of ways. WPPerformanceTester was simply one component of a much larger performance benchmark. It tests a single server (or node) that it is running on. So if you’re considering looking at the results from a clustered or distributed setup, it may give you limited insight into how well your whole system performs. WPPerformanceTester is about the raw speed a system has to execute code and perform database operations.
Real website performance isn’t always correlated with raw speed. A seemingly slow website could have a very fast WPPerformanceTester result. There are lots of layers (namely caching) in making a WordPress website fast. A good caching layer will almost always outperform computing power. But when the caching layers are equal, raw speed can make a difference.
WPPerformanceTester is simply one tool to add to your toolkit in measuring performance. You should have a variety of others to test other facets of performance.
If the script times out (max_execution_time limit) it will not show any results. You can solve this by increasing the max_execution_time in the php.ini. Some plugins may also cause WPPerformanceTester to run exceptionally slow and make it more likely to hit this limit. One such plugin is VersionPress. You can temporarily disable plugins that might be interfering with it as an alternative way to run it.
- It’s always best to BACKUP EVERYTHING before running ANY new plugin or making changes to your WordPress install.
Download the plugin and install it into your wp-content/plugins folder.
Once activated, it should appear under the Tools section of your wp-admin.
Contributors & Developers
“WPPerformanceTester” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
(December 29, 2021) Major update and version change.
Plugin should now be compatible with latest PHP 8 / MySQL 8.
Benchmarks no longer comparable between versions. Industry benchmarks will only show results from the same version.
benchmark script updated to replace deprecated/broken math functions and mysql functions. Version number in benchmark script reflects version number of current open source library it was based on, NOT WPPerformanceTester version number.
ENCODE() replaced with AES_ENCRYPT to perform mysql benchmark.
Benchmark graph now uses Chart.js 3.7 instead of 1.x which hopefully helps conflicts with other newer plugins.
(Oct 1, 2021) Minor bug fixes.
Added support for hyperdb and socket connections.
Updated interface to make graphs and results more clear.
- Initial release