目前,我正在使用 xdebug profiler
和 KCacheGrind
。但是 GallGrind 格式不存储完整的调用跟踪,只存储父子调用跟踪(查看 Kcachegrind/callgrind is inaccurate for dispatcher functions? 我在说什么。)
Is there a profiler with visualization with full backtrace visualization available for PHP?
我看过
- PHP Quick Profiler: But, It requires too much code to be added and no visualization.
- phpCallGraph: Its most recent version has been modified on 2009-08-06(ref).
最佳答案
几个月前,我不得不为以前的项目做一些主要的 PHP 分析。
我能找到的最佳选择是 facebook 的 xhprof与 xhprof-ui .
在此处了解如何安装它们:
http://blog.preinheimer.com/index.php?/archives/355-A-GUI-for-XHProf.html
一些优点:
- 易于使用的界面
- 用于保存之前分析 session 的数据库后端
- 漂亮的书法
关于php - PHP 的 'profiler with visualization' 和 `full backtrace visualization` ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8810437/