com.google.caliper
Class ScenarioSelection
java.lang.Object
com.google.caliper.ScenarioSelection
public final class ScenarioSelection
- extends Object
Figures out which scenarios to benchmark given a benchmark suite, set of user
parameters, and set of user VMs.
ScenarioSelection
public ScenarioSelection(Arguments arguments)
ScenarioSelection
public ScenarioSelection(Set<String> userVms,
com.google.common.collect.Multimap<String,String> vmParameters,
String suiteClassName,
com.google.common.collect.Multimap<String,String> userParameterArguments,
int trials)
select
public List<Scenario> select()
- Returns the selected scenarios for this benchmark.
normalizeScenario
public Scenario normalizeScenario(Scenario scenario)
- Returns a normalized version of
scenario
, with information from suite
assisting in correcting problems.
getUserParameterNames
public Set<String> getUserParameterNames()
getVmParameterNames
public Set<String> getVmParameterNames()
createBenchmark
public ConfiguredBenchmark createBenchmark(Scenario scenario)
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.