public final class BenchmarkRule extends Object implements org.junit.rules.MethodRule
Rule
publicMethodRule
runBenchmarks = new BenchmarkRule();
Constructor and Description |
---|
BenchmarkRule()
Creates a benchmark rule with the default sink for benchmark results (the default
sink is taken from global properties).
|
BenchmarkRule(IResultsConsumer... consumers)
Creates a benchmark rule with a given sink for benchmark results.
|
public BenchmarkRule()
public BenchmarkRule(IResultsConsumer... consumers)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
apply
in interface org.junit.rules.MethodRule
Copyright © 2015 Carrot Search s.c.. All rights reserved.