Server-side Performance Testing of a php Web Application

随声附和 提交于 2019-12-08 02:47:21

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/4313224/server-side-performance-testing-of-a-php-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!