Package org.apache.arrow.vector
Class Float8Benchmarks
java.lang.Object
org.apache.arrow.vector.Float8Benchmarks
- Direct Known Subclasses:
Float8Benchmarks_jmhType_B1
Benchmarks for
Float8Vector
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
void
prepare()
Setup benchmarks.double
Test reading/writing onFloat8Vector
.void
tearDown()
Tear down benchmarks.
-
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 onFloat8Vector
. The performance of this benchmark is influenced by the states of two flags: 1. The flag for boundary checking. For details, please seeBoundsChecking
. 2. The flag for null checking in get methods. For details, please seeNullCheckingForGet
.- Returns:
- useless. To avoid DCE by JIT.
-
copyFromBenchmark
public void copyFromBenchmark() -
main
- Throws:
org.openjdk.jmh.runner.RunnerException
-