@Command(name="benchmark",
description="Runs a benchmark which consists of running the configured operation mix a set number of times and calculating statistics over those runs. Benchmarking behaviour can be configured in various ways to cope with different desired benchmark characteristics and systems to be benchmarked.")
public class BenchmarkCommand
extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowOverwrite
Allow overwrite option
|
String |
csvResultsFile
CSV result file option
|
int |
outliers
Outliers option
|
int |
runs
Runs option
|
int |
warmups
Warm ups option
|
String |
xmlResultsFile
XML result file option
|
ANSI_RED, ANSI_RESET, askFormat, debug, dsAssemblerFile, enableCompression, ensureAbsoluteURIs, formPwdField, formUrl, formUserField, graphFormat, gspEndpoint, haltAny, haltOnError, haltOnTimeout, helpOption, inMemoryOperations, insecure, limit, logFile, logToConsole, maxDelay, mixFile, noCount, noRandom, parallelThreads, password, preemptiveAuth, queryEndpoint, quiet, sampleRepeats, sampleSize, sanityCheckLevel, selectFormat, setupMixFile, teardownMixFile, timeout, trace, updateEndpoint, username| Constructor and Description |
|---|
BenchmarkCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends BenchmarkOptions> |
applyBenchmarkOptions(T options)
Applies benchmarking options provided by this command
|
static void |
main(String[] args)
Runs the command line benchmarking process
|
protected int |
run()
Method that should be implemented to run the actual command
|
applyStandardOptions, showUsagepublic int runs
public int warmups
public int outliers
public boolean allowOverwrite
public String csvResultsFile
public String xmlResultsFile
public static void main(String[] args)
args - Argumentsprotected int run()
throws IOException
AbstractCommandrun in class AbstractCommandIOExceptionprotected <T extends BenchmarkOptions> void applyBenchmarkOptions(T options)
options - Benchmark options to populateCopyright © 2014. All Rights Reserved.