public final class BenchmarkRule extends Object implements org.junit.rules.MethodRule
RulepublicMethodRulerunBenchmarks = 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.MethodRuleCopyright © 2013 Carrot Search s.c.. All Rights Reserved.