PHP 的嵌入式分析器
我想逐个函数地分析一些 PHP 代码,所以我需要一个可以检查块的分析器的代码。我找到了 XHProf,并且我能够将其安装在 MAMP 遵循指南使用 XHProf 进行分析。
问题是我正在远程操作测试服务器,我没有权限,而且我真的不想调整...
是否有用于分析的代码解决方案?
我必须亲自了解服务器的配置吗?
I want to profile some PHP code, function by function, so I need a profiler that can check block of code. I found XHProf, and I was able to install it on MAMP following the guide Profiling with XHProf.
The problem is that I am working on a test server remotely, which I don't have the rights to, and I don't really want to tweak...
Is there a code solution for profiling?
Must I put my hands on the server's configurations?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将 Xdebug 分析器与 KCacheGrind。查看博客文章分析 PHP 应用程序。
Try using the Xdebug profiler with KCacheGrind. Have a look at the blog post Profiling a PHP Application.