use of org.openjdk.jmh.runner.WorkloadParams in project atlasdb by palantir.
the class PerformanceResultsTest method createBenchmarkParams.
private static BenchmarkParams createBenchmarkParams(String benchmarkName, String paramKey, String paramValue) {
WorkloadParams workloadParams = new WorkloadParams();
workloadParams.put(paramKey, paramValue, 0);
// Sorry, JMH API doesn't have a builder. Isolating the badness to just here.
return new BenchmarkParams(benchmarkName, null, false, 0, null, null, 1, 1, null, null, null, workloadParams, null, 1, null, null, null);
}
Aggregations