Class EuclideanNormAlgorithmPerformance
- java.lang.Object
-
- org.apache.commons.numbers.examples.jmh.core.EuclideanNormAlgorithmPerformance
-
- Direct Known Subclasses:
EuclideanNormAlgorithmPerformance_jmhType_B1
public class EuclideanNormAlgorithmPerformance extends Object
Execute benchmarks for the algorithms in theEuclideanNormAlgorithmsclass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEuclideanNormAlgorithmPerformance.VectorArrayInputClass providing input vectors for benchmarks.
-
Constructor Summary
Constructors Constructor Description EuclideanNormAlgorithmPerformance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddirect(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.Directclass.voidenorm(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.Enormclass.voidenormMod(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.EnormModclass.voidenormModExt(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.EnormModExtclass.voidenormModKahan(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.EnormModKahanclass.voidexact(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.Exactclass.voidextLinear(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationclass.voidextLinearMod(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationModclass.voidextLinearSinglePass(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationSinglePassclass.voidextLinearSqrt2(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationSqrt2class.
-
-
-
Method Detail
-
exact
public void exact(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.Exactclass.- Parameters:
input- benchmark inputbh- blackhole
-
direct
public void direct(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.Directclass.- Parameters:
input- benchmark inputbh- blackhole
-
enorm
public void enorm(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.Enormclass.- Parameters:
input- benchmark inputbh- blackhole
-
enormMod
public void enormMod(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.EnormModclass.- Parameters:
input- benchmark inputbh- blackhole
-
enormModKahan
public void enormModKahan(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.EnormModKahanclass.- Parameters:
input- benchmark inputbh- blackhole
-
enormModExt
public void enormModExt(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.EnormModExtclass.- Parameters:
input- benchmark inputbh- blackhole
-
extLinear
public void extLinear(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationclass.- Parameters:
input- benchmark inputbh- blackhole
-
extLinearMod
public void extLinearMod(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationModclass.- Parameters:
input- benchmark inputbh- blackhole
-
extLinearSinglePass
public void extLinearSinglePass(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationSinglePassclass.- Parameters:
input- benchmark inputbh- blackhole
-
extLinearSqrt2
public void extLinearSqrt2(EuclideanNormAlgorithmPerformance.VectorArrayInput input, org.openjdk.jmh.infra.Blackhole bh)
Compute the performance of theEuclideanNormAlgorithms.ExtendedPrecisionLinearCombinationSqrt2class.- Parameters:
input- benchmark inputbh- blackhole
-
-