mirror of
https://github.com/pseXperiments/clookup.git
synced 2026-01-08 23:28:10 -05:00
Update guide for benchmark in README
This commit is contained in:
13
README.md
13
README.md
@@ -2,8 +2,17 @@
|
||||
Lookup argument with function composition
|
||||
|
||||
## Benchmark
|
||||
To run benchmark, run
|
||||
1. To run benchmark, before running it install `flamegraph`.
|
||||
```sh
|
||||
cargo install flamegraph
|
||||
```
|
||||
In Linux, install `perf`.
|
||||
|
||||
2. In Linux, install `perf`. \
|
||||
In Mac OS, it uses built-in dtrace.
|
||||
|
||||
2. Run benchmark
|
||||
```sh
|
||||
make bench
|
||||
```
|
||||
|
||||
3. The result of benchmark will be stored as `flamegraph.svg` in the root.
|
||||
|
||||
Reference in New Issue
Block a user