T
- the MaxThroughput bench result summaryS
- the general Bench Summary with common methodP
- the stress bench parameterQ
- the single task resultpublic abstract class AbstractMaxThroughput<Q extends TaskResult,T extends AbstractMaxThroughputSummary<P,S>,S extends GeneralBenchSummary<Q>,P extends Parameters> extends Benchmark<T>
Benchmark.MethodStatistics, Benchmark.ProfileInput
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
protected int |
mInitialThroughput |
protected T |
mMaxThroughputResult |
protected P |
mParameters |
mBaseParameters
Constructor and Description |
---|
AbstractMaxThroughput() |
Modifier and Type | Method and Description |
---|---|
abstract void |
initParameters(List<String> baseArgs)
Construct parameters with user command-line args.
|
String |
run(String[] args)
Runs the test and returns the string output.
|
T |
runLocal()
Runs the test locally, in process.
|
protected abstract S |
runSingleTest(List<String> args,
int targetThroughput)
Unit test for max throughput.
|
protected void |
updateArgValue(List<String> args,
String argName,
String argValue) |
cleanup, generateJobConfig, getBenchDescription, mainInternal, parseParameters, prepare, processMethodProfiles, runSingleTask
protected static final org.slf4j.Logger LOG
protected P extends Parameters mParameters
protected T extends AbstractMaxThroughputSummary<P,S> mMaxThroughputResult
protected int mInitialThroughput
public abstract void initParameters(List<String> baseArgs)
baseArgs
- initial args passed by the userprotected abstract S runSingleTest(List<String> args, int targetThroughput) throws Exception
Exception
Copyright © 2023. All Rights Reserved.