Skip to content

Commit

Permalink
fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
danthe1st committed Sep 26, 2024
1 parent 5458f1d commit 4e02b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arebac-neo4j/Benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ In order to profile a specific benchmark using [`async-profiler`](https://github
java -cp target/classes:target/test-classes:target/all-dependencies/*:target/arebac-neo4j-0.0.1-SNAPSHOT.jar org.openjdk.jmh.Main AirbnbBenchmark.scenario1GetReviewsFromHostGPEvalWithoutWeaving -prof 'async:libPath=/PATH/TO/async-profiler/lib/libasyncProfiler.so;output=flamegraph;dir=profile' -f 2
```
This configures JMH to only use only two forks and attaches async-profiler to create a CPU flamegraph in a `profile.html` file. The above example runs the benchmarks specified in the `SOBenchmark` class.
This configures JMH to only use only two forks and attaches async-profiler to create a CPU flamegraph in a `profile.html` file. The above example runs the `AirbnbBenchmark.scenario1GetReviewsFromHostGPEvalWithoutWeaving` benchmark.

0 comments on commit 4e02b2c

Please sign in to comment.