Skip to content

Commit

Permalink
Add GCProfilter to BenchmarkPageProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying Su authored and mbasmanova committed Oct 2, 2020
1 parent 186ee27 commit 3a44824
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.annotations.Warmup;
import org.openjdk.jmh.profile.GCProfiler;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
Expand Down Expand Up @@ -274,6 +275,7 @@ public static void main(String[] args)
Options options = new OptionsBuilder()
.verbosity(VerboseMode.NORMAL)
.include(".*" + BenchmarkPageProcessor.class.getSimpleName() + ".*")
.addProfiler(GCProfiler.class)
.build();

new Runner(options).run();
Expand Down

0 comments on commit 3a44824

Please sign in to comment.