php web项目的性能评估

问题描述:

How to test my php search engine project ?

  1. Client side Minimum browser requirement
  2. How faster the website is?
  3. performance

Any tool available for that???

如何测试我的php搜索引擎项目? p>

  1. 客户端最低浏览器要求 li>
  2. 网站的速度有多快? li>
  3. 性能 li> ol>

    任何可用的工具??? p> div>

I would recommend ySlow which is a firefox plugin found here:

https://addons.mozilla.org/en-US/firefox/addon/yslow/ - will give server side recommendations to speed up your site beyond just network speed tests

As well as Googles page speed which is available as a chrome extension: http://code.google.com/speed/page-speed/docs/using_chrome.html - will give server side recommendations to speed up your site beyond just network speed tests

These will answer points 2 & 3

As for point 1: http://browsershots.org/ will show you a rendered version of your site in any os/browser combo you want

As for your server side PHP code there are many commercial audit services or google for online php optimizations which will bring up articles like:

http://code.google.com/speed/articles/optimizing-php.html

Hope this helps!

  1. Test all broswer you can.
  2. Use microtime function to calculate how much time it take to load.
  3. Goes in 1 and 2.

  • Google Chrome can profile your website and offer some basic tips for improving speed alongside a chart showing resource loading times. Hit F12, click Network and reload the page. For an audit, hit Audits and click Run

  • Test your website in different browsers. There aren't a whole lot of them to try out.

  • As for "performance", that's a vague term.