Class Float8Benchmarks

java.lang.Object
org.apache.arrow.vector.Float8Benchmarks
Direct Known Subclasses:
Float8Benchmarks_jmhType_B1

public class Float8Benchmarks extends Object
Benchmarks for Float8Vector.
  • Constructor Details

    • Float8Benchmarks

      public Float8Benchmarks()
  • Method Details

    • prepare

      public void prepare()
      Setup benchmarks.
    • tearDown

      public void tearDown()
      Tear down benchmarks.
    • readWriteBenchmark

      public double readWriteBenchmark()
      Test reading/writing on Float8Vector. The performance of this benchmark is influenced by the states of two flags: 1. The flag for boundary checking. For details, please see BoundsChecking. 2. The flag for null checking in get methods. For details, please see NullCheckingForGet.
      Returns:
      useless. To avoid DCE by JIT.
    • copyFromBenchmark

      public void copyFromBenchmark()
    • main

      public static void main(String[] args) throws org.openjdk.jmh.runner.RunnerException
      Throws:
      org.openjdk.jmh.runner.RunnerException