Skip to content

Commit

Permalink
Fix profiling instructions for Linux (ethereum#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
agnxsh authored Sep 7, 2024
1 parent 1cf06e1 commit 1f5d7b8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/PROFILE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ took, but it will help you determine which functions are the most expensive.

On Linux (Debian), you need to install:
```
sudo apt install gperftools graphviz
sudo apt install libgoogle-perftools-dev graphviz
```
Assuming you have Go installed, get `pprof` from:
```
go install github.com/google/pprof@latest
```
Depending on your shell, edit the corresponding configuration file to
add the Go binary path (`$HOME/go/bin`) to your `PATH`.

On macOS, you need to install (via [homebrew](https://brew.sh)):
```
Expand Down

0 comments on commit 1f5d7b8

Please sign in to comment.