Documentation of 'org.neuroph.util.benchmark.Benchmark' Java class
Benchmark
org.neuroph.util.benchmark

Class Benchmark



  • public class Benchmark
    extends java.lang.Object
    This class is main benchmark driver. It holds collection of benchmarking tasks and provides benchmarking workflow.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Benchmark()
      Creates a new Benchmark instance
    • Constructor Detail

      • Benchmark

        public Benchmark()
        Creates a new Benchmark instance
    • Method Detail

      • addTask

        public void addTask(BenchmarkTask task)
        Adds specified benchmark task
        Parameters:
        task - benchmark task
      • runTask

        public static void runTask(BenchmarkTask task)
        Runs specified benchmark tasks, the basic benchmarking workflow. Prepares benchmark, run warming up iterations, measures the execution time for specified number of benchmarking iterations, and gets the benchmarking results
        Parameters:
        task -
      • run

        public void run()
        Runs all benchmark tasks

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.