[WordPress] 外掛分享: WPPerformanceTester

首頁外掛目錄 › WPPerformanceTester
1,000+
安裝啟用
★★★★
4.3/5 分(8 則評價)
692 天前
最後更新
問題解決
WordPress 3.5+ v2.0.0 上架:2015-11-11

內容簡介

WPPerformanceTester是一個用於測試WordPress性能的工具,它曾被用於2015年的WordPress主機表現基準測試中,由Review Signal所編寫。目前的基準測試可以在WPHostingBenchmarks.com上查看。它旨在通過壓力測試PHP、MySQL和運行$wpdb查詢來測試服務器性能。

WPPerformanceTester執行以下測試:

數學 – 進行100,000個數學函數測試
字符串操作 – 進行100,000個字符串操作測試
循環 – 進行1,000,000次循環迭代
條件語句 – 進行1,000,000次條件邏輯檢查
MySQL(連接、選擇、版本、aes_encrypt) – 基本的MySQL函數和5,000,000次AES_ENCRYPT()迭代
\$wpdb – 通過\$wpdb進行250次插入、選擇、更新和刪除操作

它還允許您查看您的服務器性能如何與我們的行業基準相比。我們的行業基準是所有提交測試結果的平均值。

關於性能的注意事項

性能可以通過許多方式進行測量。 WPPerformanceTester僅是更大性能基準測試的一部分。它測試運行在單個服務器(或節點)上的性能。因此,如果您正在考慮查看來自集群或分佈式設置的結果,它可能對了解整個系統的性能表現有限。 WPPerformanceTester專注於系統執行代碼和執行數據庫操作的原始速度。

實際網站性能不一定與原始速度相關。看似緩慢的網站可能具有非常快的WPPerformanceTester結果。製作WordPress網站更快的方式,有很多層(即緩存)。一個好的緩存層幾乎總是比計算能力更出色。但是,當緩存層相等時,原始速度可以有所不同。

WPPerformanceTester僅是您測試性能的工具箱中的其中一個工具。您還應該擁有各種其他工具,以測試性能的其他方面。

已知問題

如果腳本超時(max_execution_time限制),它將不會顯示任何結果。您可以通過在php.ini中增加max_execution_time來解決此問題。某些插件可能會導致WPPerformanceTester運行異常緩慢,並使其更容易達到此限制。其中一個這樣的插件是VersionPress。您可以暫時禁用可能與它產生干擾的插件,作為替代的運行方式。

注意:

在運行任何新插件或對WordPress進行更改之前,最好先備份所有內容。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WPPerformanceTester」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon