PHP 的嵌入式分析器

发布于 2025-01-03 23:19:02 字数 475 浏览 3 评论 0原文

我想逐个函数地分析一些 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 技术交流群。

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

发布评论

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

评论(1

不气馁 2025-01-10 23:19:02

尝试将 Xdebug 分析器与 KCacheGrind。查看博客文章分析 PHP 应用程序

Try using the Xdebug profiler with KCacheGrind. Have a look at the blog post Profiling a PHP Application.

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