Class FuseIOBench


  • public class FuseIOBench
    extends Benchmark<alluxio.stress.fuse.FuseIOTaskResult>
    Single node stress test.
    • Constructor Detail

      • FuseIOBench

        public FuseIOBench()
        Creates instance.
    • 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: Benchmark
        Get the description of the bench.
        Specified by:
        getBenchDescription in class Benchmark<alluxio.stress.fuse.FuseIOTaskResult>
        Returns:
        string of the bench description
      • prepare

        public void prepare()
                     throws java.lang.Exception
        Description copied from class: Benchmark
        Prepares to run the test.
        Specified by:
        prepare in class Benchmark<alluxio.stress.fuse.FuseIOTaskResult>
        Throws:
        java.lang.Exception
      • runLocal

        public alluxio.stress.fuse.FuseIOTaskResult runLocal()
                                                      throws java.lang.Exception
        Description copied from class: Benchmark
        Runs the test locally, in process.
        Specified by:
        runLocal in class Benchmark<alluxio.stress.fuse.FuseIOTaskResult>
        Returns:
        the task result
        Throws:
        java.lang.Exception
      • addAdditionalResult

        public java.util.Map<java.lang.String,​alluxio.stress.common.SummaryStatistics> addAdditionalResult​(long startMs,
                                                                                                                 long endMs)
                                                                                                          throws java.io.IOException
        Reads the log file from java agent log file.
        Parameters:
        startMs - start time for profiling
        endMs - end time for profiling
        Returns:
        TimeToFirstByteStatistics
        Throws:
        java.io.IOException - exception