Skip to content

Commit 44b3a4b

Browse files
committed
adding to bench readme
1 parent 1567f85 commit 44b3a4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benches/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ You can also run the benchmarks using the profiler flamegraph. Details can be fo
3636
- [Flamegraph GitHub](https://github.com/flamegraph-rs/flamegraph).
3737
This provides insights on the where execution time is spent.
3838

39+
### Installing Flamegraph
40+
41+
Installing Flamegraph in Linux and macOS is easy, since you only need to install flamegraph using `cargo install flamegraph`.
3942
But in WSL you need some more steps, since you need to install "perf" manually.
4043

4144
So after `cargo install flamegraph`, you need to update "apt" with `sudo apt update` and install "build-essential's" by `sudo apt install -y build-essential libelf-dev libnuma-dev flex bison libdw-dev libunwind-dev libaudit-dev libslang2-dev libperl-dev python3-dev binutils-dev liblzma-dev libiberty-dev`.<br>

0 commit comments

Comments
 (0)