最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

performance - cross-host benchmarking with wordpress

programmeradmin0浏览0评论

I am doing some cross-host benchmarking with wordpress, and rather than going to the huge trouble of setting up an identical install of wordpress on each host, a huge investment of time, etc., I want to create a single php file that would simulate the php demands of wordpress and use that file to gauge each host's relative wordpress efficiency.

What might such a file look like? Or does it matter? Would a standard php benchmark file suffice?

Note: for my purposes, I'm ignoring database calls from my calculations.

I am doing some cross-host benchmarking with wordpress, and rather than going to the huge trouble of setting up an identical install of wordpress on each host, a huge investment of time, etc., I want to create a single php file that would simulate the php demands of wordpress and use that file to gauge each host's relative wordpress efficiency.

What might such a file look like? Or does it matter? Would a standard php benchmark file suffice?

Note: for my purposes, I'm ignoring database calls from my calculations.

Share Improve this question edited Mar 8, 2012 at 18:03 kaiser 50.9k27 gold badges150 silver badges245 bronze badges asked Mar 8, 2012 at 17:29 SamSam 1134 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 2

Afaik there's no real performance test available (what exactly do you want to check?), but you can find a plugin that came out of the first Q below, that might help you doing some profilling.


An interesting read might be…

  1. refactoring WP to improve memory performance
  2. generally a lot of Qs inside the performance tag

Also: You can use the Debug Bar Plugin:


(source: wordpress)


…or if it's about plugin performance, try to take a look via the P3 Plugin Performance Profiler Plugin. No need to run this on multiple sites, as it meassures in %-values.

If you wanted to tests different hosts I would suggest running the WordPress unit tests and adding a timer for each test. You can install the tests via svn which also installs WordPress. You you just need to create a blank database and change wp-config.php.

发布评论

评论列表(0)

  1. 暂无评论