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(java.util.List<java.lang.String> baseArgs)
Construct parameters with user command-line args.
|
java.lang.String |
run(java.lang.String[] args)
Runs the test and returns the string output.
|
T |
runLocal()
Runs the test locally, in process.
|
protected abstract S |
runSingleTest(java.util.List<java.lang.String> args,
int targetThroughput)
Unit test for max throughput.
|
protected void |
updateArgValue(java.util.List<java.lang.String> args,
java.lang.String argName,
java.lang.String argValue) |
cleanup, generateJobConfig, getBenchDescription, mainInternal, parseParameters, prepare, processMethodProfiles, runSingleTaskprotected 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(java.util.List<java.lang.String> baseArgs)
baseArgs - initial args passed by the userprotected abstract S runSingleTest(java.util.List<java.lang.String> args, int targetThroughput) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String run(java.lang.String[] args)
throws java.lang.Exception
protected void updateArgValue(java.util.List<java.lang.String> args,
java.lang.String argName,
java.lang.String argValue)
Copyright © 2023. All Rights Reserved.