PHP Web 应用程序的服务器端性能测试

发布于 2024-10-05 07:53:28 字数 514 浏览 0 评论 0原文

在我被标记为类似文章的欺骗之前:

[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 的代码覆盖率测试
  • Lint?
  • 像 c 的 valgrind 之类的东西,但对于 php 来说,
  • 任何其他工具都可以真正锤炼 php 代码并寻找缺陷或效率

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

所有建议表示赞赏!

Before I get marked as dupe of articles like:

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

Most of the answers on pages like that indicate performance testing of the html, using firebug, YSlow and so on. Loadrunner is cited, which is good, but what I'd like is a set of tools for performance testing the php itself to identify bottlenecks in the code.

It's a LAMP setup.

So, maybe:

  • Code coverage testing
  • Lint for php?
  • Something like valgrind for c, but for php
  • any other tool to really hammer the php code and look for flaws or inefficiencies

Currently the best one I've found for it may be JMeter, but I'm only just starting to explore it.

All suggestions appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

醉态萌生 2024-10-12 07:53:28

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

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

http://www.xdebug.org/

它们非常容易设置,并且在识别我的瓶颈方面非常宝贵。代码。

Hey, I use XDebug and KCachegrind to check out whats going on server side.

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

http://www.xdebug.org/

They are pretty easy to set up and have been invaluable to me in identifying bottlenecks in my code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文