2

在我被标记为以下文章的欺骗之前:

[http://stackoverflow.com/questions/635123/what-is-a-good-tool-or-site-to-use-to-performance-test-a-web-page-site][1]

此类页面上的大多数答案都表明使用 firebug、YSlow 等对 html 进行性能测试。引用了 Loadrunner,这很好,但我想要的是一组工具,用于测试 php 本身的性能以识别代码中的瓶颈。

这是一个 LAMP 设置。

所以,也许:

  • 代码覆盖率测试
  • 用于 php 的皮棉?
  • 类似于 c 的 valgrind,但用于 php
  • 任何其他真正敲击 php 代码并寻找缺陷或低效率的工具

目前我找到的最好的可能是 JMeter,但我才刚刚开始探索它。

所有建议表示赞赏!

4

1 回答 1

4

嘿,我使用 XDebug 和 KCachegrind 来检查服务器端发生了什么。

http://kcachegrind.sourceforge.net/html/Home.html

http://www.xdebug.org/

它们很容易设置,并且对我识别代码中的瓶颈非常宝贵。

于 2010-11-30T11:34:02.330 回答