WPPerformanceTester

外掛說明

WPPerformanceTester was written as a tool to benchmark WordPress in the WordPress Hosting Performance Benchmarks (2015) by Review Signal. 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, encode) – basic mysql functions and 1,000,000 ENCODE() 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.

Known Issues

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.

Note:

  • 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.

使用者評論

2020 年 8 月 17 日
Ran it on cPanel, Plesk, and Gridpane based servers. I'm not sure if the results are as intended (as in, whether it's a false positive), but the plugin still runs without errors on all of them.
2017 年 9 月 29 日
Pretty simple plugin. Works just fine. Test took about 5 seconds on our pretty-fast VPS servers.
2017 年 1 月 28 日
Didnt tell me any comparative stats. Form submitted to a https invalid certificate. Clicking on authors website link gave Cannot connect to the database because: Unknown MySQL server host 'review-signal-database-2.c4gwtyqfn8ba.us-east-1.rds.amazonaws.com' (1)
2016 年 9 月 17 日
Well done and working nicely. Hope this will be kept alive and updated!
2016 年 9 月 3 日
Excellently done. Simple UI. Collation and comparison with other users very useful. Would be great with an I/O test (disk and network).
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WPPerformanceTester〉的開發相關工作。

參與者

將 WPPerformanceTester 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

Added support for hyperdb and socket connections.

1.0.1

Updated interface to make graphs and results more clear.

1.0

  • Initial release