public class StressClientIOBench extends AbstractStressBench<ClientIOTaskResult,ClientIOParameters>
Benchmark.MethodStatistics, Benchmark.ProfileInput
mParameters
mBaseParameters
Constructor and Description |
---|
StressClientIOBench()
Creates instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,SummaryStatistics> |
addAdditionalResult(long startMs,
long endMs)
Read the log file from java agent log file.
|
String |
getBenchDescription()
Get the description of the bench.
|
static void |
main(String[] args) |
void |
prepare()
Prepares to run the test.
|
ClientIOTaskResult |
runLocal()
Runs the test locally, in process.
|
void |
validateParams()
Validates the parameters.
|
run
cleanup, generateJobConfig, mainInternal, parseParameters, processMethodProfiles, runSingleTask
public static void main(String[] args)
args
- command-line argumentspublic String getBenchDescription()
Benchmark
getBenchDescription
in class Benchmark<ClientIOTaskResult>
public void prepare() throws Exception
Benchmark
prepare
in class Benchmark<ClientIOTaskResult>
Exception
public ClientIOTaskResult runLocal() throws Exception
Benchmark
runLocal
in class Benchmark<ClientIOTaskResult>
Exception
public Map<String,SummaryStatistics> addAdditionalResult(long startMs, long endMs) throws IOException
startMs
- start time for profilingendMs
- end time for profilingIOException
- exceptionpublic void validateParams() throws Exception
AbstractStressBench
validateParams
in class AbstractStressBench<ClientIOTaskResult,ClientIOParameters>
Exception
Copyright © 2023. All Rights Reserved.