Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored May 4, 2019
1 parent e0d92fa commit 657988e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ composer require sy-records/xhprof2flamegraph

## 使用

1. 给予可执行权限
`vendor/bin`目录下有两个可执行文件,执行命令
```shell
chmod +x flamegraph.pl xhprof2flamegraph
```
2. 执行命令
```shell
./xhprof2flamegraph -f ./test.xhprof | ./flamegraph.pl > out.svg
./vendor/bin/xhprof2flamegraph -f ./test.xhprof | ./vendor/bin/flamegraph.pl > out.svg
```

> 替换对应的路径信息
Expand Down

0 comments on commit 657988e

Please sign in to comment.