Skip to content

Commit

Permalink
Fixed wrong benchmark parameter class and name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kausandr committed Apr 16, 2021
1 parent 2578255 commit 54869fd
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -14,8 +14,10 @@
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
import org.openjdk.jmh.annotations.TearDown;
import org.openjdk.jmh.infra.BenchmarkParams;
import org.openjdk.jmh.infra.Blackhole;
import com.gocypher.cybench.core.annotation.BenchmarkTag;
import org.openjdk.jmh.infra.Control;

@State(Scope.Benchmark)
public class TestBenchmarkClass {
Expand All @@ -40,7 +42,7 @@ public void mainBenchmark3(Blackhole bh) {

@Benchmark
@BenchmarkTag(tag = "dea83398-1f94-4162-a73c-e017af3714e8")
public void mainBenchmark3(Blackhole bh, String a) {
public void mainBenchmark4(Blackhole bh, BenchmarkParams a) {
bh.consume(System.getProperties().getProperty("DEF"));
}

Expand Down

0 comments on commit 54869fd

Please sign in to comment.