Package alluxio.stress.cli.fuse
Class FuseIOBench
- java.lang.Object
-
- alluxio.stress.cli.Benchmark<alluxio.stress.fuse.FuseIOTaskResult>
-
- alluxio.stress.cli.fuse.FuseIOBench
-
public class FuseIOBench extends Benchmark<alluxio.stress.fuse.FuseIOTaskResult>
Single node stress test.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class alluxio.stress.cli.Benchmark
Benchmark.MethodStatistics, Benchmark.ProfileInput
-
-
Field Summary
-
Fields inherited from class alluxio.stress.cli.Benchmark
mBaseParameters
-
-
Constructor Summary
Constructors Constructor Description FuseIOBench()Creates instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,alluxio.stress.common.SummaryStatistics>addAdditionalResult(long startMs, long endMs)Reads the log file from java agent log file.java.lang.StringgetBenchDescription()Get the description of the bench.static voidmain(java.lang.String[] args)voidprepare()Prepares to run the test.alluxio.stress.fuse.FuseIOTaskResultrunLocal()Runs the test locally, in process.-
Methods inherited from class alluxio.stress.cli.Benchmark
cleanup, generateJobConfig, mainInternal, parseParameters, processMethodProfiles, run, runSingleTask
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- command-line arguments
-
getBenchDescription
public java.lang.String getBenchDescription()
Description copied from class:BenchmarkGet the description of the bench.- Specified by:
getBenchDescriptionin classBenchmark<alluxio.stress.fuse.FuseIOTaskResult>- Returns:
- string of the bench description
-
prepare
public void prepare() throws java.lang.ExceptionDescription copied from class:BenchmarkPrepares to run the test.
-
runLocal
public alluxio.stress.fuse.FuseIOTaskResult runLocal() throws java.lang.ExceptionDescription copied from class:BenchmarkRuns the test locally, in process.
-
addAdditionalResult
public java.util.Map<java.lang.String,alluxio.stress.common.SummaryStatistics> addAdditionalResult(long startMs, long endMs) throws java.io.IOExceptionReads the log file from java agent log file.- Parameters:
startMs- start time for profilingendMs- end time for profiling- Returns:
- TimeToFirstByteStatistics
- Throws:
java.io.IOException- exception
-
-