Search in sources :

Example 1 with WorkloadParams

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);
}
Also used : WorkloadParams(org.openjdk.jmh.runner.WorkloadParams) BenchmarkParams(org.openjdk.jmh.infra.BenchmarkParams)

Aggregations

BenchmarkParams (org.openjdk.jmh.infra.BenchmarkParams)1 WorkloadParams (org.openjdk.jmh.runner.WorkloadParams)1