Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantxie committed Jul 11, 2024
1 parent 6186ed6 commit 79aaaef
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ $ go tool pprof -http=:5079 ./grf.out

The opened HTML page displays the reference distribution of the heap memory. You can choose to view the "inuse space" or "inuse objects".


<img width="1920" alt="image" src="https://github.com/cloudwego/goref/assets/24311963/a9fe0294-fe58-456a-a9d5-a8cb25049bff">


View flame graph of inuse objects:


<img width="1916" alt="image" src="https://github.com/cloudwego/goref/assets/24311963/24e80f51-3af3-4405-8f71-57e51c42c7ed">


It also supports analyzing core files, e.g.

```
Expand All @@ -41,4 +51,4 @@ successfully output to `grf.out`
## Credit

Thanks to [Delve](https://github.com/go-delve/delve) for providing powerful golang debugger.
Thanks to [Delve](https://github.com/go-delve/delve) for providing powerful golang debugger.

0 comments on commit 79aaaef

Please sign in to comment.