分析 PHP 内联 [英] Profiling PHP Inline
本文介绍了分析 PHP 内联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一种解决方案来在浏览器中分析我的 php 脚本(而不必使用 *cachegrind)
I'm looking for a solution to profile my php scripts within the browser (rather than having to use *cachegrind)
我不久前看到了这个http://particletree.com/features/php-快速分析器/,但我不知道它有多好(或准确)
I saw this a while ago http://particletree.com/features/php-quick-profiler/, but i have no idea how good it is (or accurate)
感谢提示/建议
推荐答案
xdebug 生成 cachegrind 文件,因此您可能希望避免这种情况.我目前使用 XHProf http://mirror.facebook.net/facebook/xhprof/doc.html,因为它包含用于查看分析结果的出色网络界面.
xdebug generates cachegrind files, so you will likely want to avoid that. I currently use XHProf http://mirror.facebook.net/facebook/xhprof/doc.html as it includes a great web interface for seeing profiling results.
这篇关于分析 PHP 内联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文