• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

mac qcachegrind无法打开xdebug性能报告问题


Recommended Posts

7.3.29

xdebug 3.1.4

问题:

根据网上配置的xdebug性能分析的参数,生成如下性能文件,但是用qcachegrind无法打开。

p3hkcfhj3jj6085.png

解决php.ini xdebug.use_compression的参数配置问题。

查xdebug官网文档,有CI use_compression的描述。

pyyjjuvckhg6086.png

这意味着分析登录。mac平台上的qcachegrind工具不支持gz格式,kcachegrind和phpstorm支持。这个参数需要关闭。

修改后的php.ini配置如下。

1g1wyxolzig6087.png

最终生成报告:

yguymg1bqj56088.png

用qcachegrind打开生成的文件后的最终渲染:

oidignmb2jn6089.png

此外:

Mac安装qcachegrind

brew安装qcachegrind

安装成功后,在mac终端上点击qcachegrind命令将其打开。

Link to comment
Share on other sites