Updated How to use debug api (markdown)

Larvan2 2023-01-30 21:25:19 +08:00
parent 9e26c7f07f
commit 67d18f9b6b

@ -30,10 +30,13 @@ Heap details:
```
go tool pprof -http=:8080 http://127.0.0.1:xxxx/debug/pprof/heap
````
<img src="https://raw.githubusercontent.com/MetaCubeX/Clash.Meta/Alpha/docs/heap.svg?sanitize=true">
[Full image](https://raw.githubusercontent.com/MetaCubeX/Clash.Meta/Alpha/docs/heap.svg)
<img src="https://raw.githubusercontent.com/MetaCubeX/Clash.Meta/Alpha/docs/heap.svg">
Allocs details
````
go tool pprof -http=:8080 http://127.0.0.1:xxxx/debug/pprof/allocs
````
<img src="https://raw.githubusercontent.com/MetaCubeX/Clash.Meta/Alpha/docs/allocs.svg?sanitize=true">
[Full image](https://raw.githubusercontent.com/MetaCubeX/Clash.Meta/Alpha/docs/allocs.svg)
<img src="https://raw.githubusercontent.com/MetaCubeX/Clash.Meta/Alpha/docs/allocs.svg">