public class JobServiceMaxThroughput extends AbstractMaxThroughput<JobServiceBenchTaskResult,JobServiceMaxThroughputSummary,GeneralBenchSummary<JobServiceBenchTaskResult>,JobServiceBenchParameters>
Benchmark.MethodStatistics, Benchmark.ProfileInput
LOG, 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 JobServiceBenchSummary |
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<JobServiceBenchTaskResult,JobServiceMaxThroughputSummary,GeneralBenchSummary<JobServiceBenchTaskResult>,JobServiceBenchParameters>
baseArgs
- initial args passed by the userpublic String getBenchDescription()
Benchmark
getBenchDescription
in class Benchmark<JobServiceMaxThroughputSummary>
protected JobServiceBenchSummary runSingleTest(List<String> args, int targetThroughput) throws Exception
AbstractMaxThroughput
runSingleTest
in class AbstractMaxThroughput<JobServiceBenchTaskResult,JobServiceMaxThroughputSummary,GeneralBenchSummary<JobServiceBenchTaskResult>,JobServiceBenchParameters>
Exception
public void prepare()
Benchmark
prepare
in class Benchmark<JobServiceMaxThroughputSummary>
Copyright © 2023. All Rights Reserved.