public class MasterMaxThroughput extends AbstractMaxThroughput<MasterBenchTaskResult,MasterMaxThroughputSummary,GeneralBenchSummary<MasterBenchTaskResult>,MasterBenchParameters>
Benchmark.MethodStatistics, Benchmark.ProfileInput
mInitialThroughput, mMaxThroughputResult, mParameters
mBaseParameters
Modifier and Type | Method and Description |
---|---|
String |
getBenchDescription()
Get the description of the bench.
|
void |
initParameters(List<String> baseArgs)
Construct parameters with user command-line args.
|
static void |
main(String[] args) |
void |
prepare()
Prepares to run the test.
|
protected MasterBenchSummary |
runSingleTest(List<String> args,
int targetThroughput)
Unit test for max throughput.
|
run, runLocal, updateArgValue
cleanup, generateJobConfig, mainInternal, parseParameters, processMethodProfiles, runSingleTask
public static void main(String[] args)
args
- the command-line argspublic void initParameters(List<String> baseArgs)
AbstractMaxThroughput
initParameters
in class AbstractMaxThroughput<MasterBenchTaskResult,MasterMaxThroughputSummary,GeneralBenchSummary<MasterBenchTaskResult>,MasterBenchParameters>
baseArgs
- initial args passed by the userpublic void prepare() throws Exception
Benchmark
prepare
in class Benchmark<MasterMaxThroughputSummary>
Exception
protected MasterBenchSummary runSingleTest(List<String> args, int targetThroughput) throws Exception
AbstractMaxThroughput
runSingleTest
in class AbstractMaxThroughput<MasterBenchTaskResult,MasterMaxThroughputSummary,GeneralBenchSummary<MasterBenchTaskResult>,MasterBenchParameters>
Exception
public String getBenchDescription()
Benchmark
getBenchDescription
in class Benchmark<MasterMaxThroughputSummary>
Copyright © 2023. All Rights Reserved.