背景描述
XHProf是一个轻量级的PHP性能分析工具.
使用XHProf的时候,在点击[View Full Callgraph]查看结果分析图时,会报错, 原因是缺少graphviz绘图软件。
在使用 brew安装graphviz软件出现了一些错误,特此记录一下.
具体内容
首先使用brew搜索是否存在graphviz软件,报错:
$ brew search graphviz
Error: GitHub {
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
The GitHub credentials in the OS X keychain may be invalid.
Clear them with:
printf "protocol=https\nhost=github.com\n" | git credential-osxkeychain erase
Or create a personal access token:
https:/