Class NormPerformance

    • Constructor Detail

      • NormPerformance

        public NormPerformance()
    • Method Detail

      • baseline

        public void baseline​(NormPerformance.VectorArrayInput input,
                             org.openjdk.jmh.infra.Blackhole bh)
        Compute a baseline performance metric with a method that does nothing.
        Parameters:
        input - benchmark input
        bh - blackhole
      • directEuclideanArray

        public void directEuclideanArray​(NormPerformance.VectorArrayInput input,
                                         org.openjdk.jmh.infra.Blackhole bh)
        Compute a baseline performance metric using direct computation of the Euclidean norm.
        Parameters:
        input - benchmark input
        bh - blackhole
      • euclidean2d

        public void euclidean2d​(NormPerformance.VectorArrayInput2D input,
                                org.openjdk.jmh.infra.Blackhole bh)
        Compute the performance of the Norm.L2 2D method.
        Parameters:
        input - benchmark input
        bh - blackhole
      • euclidean3d

        public void euclidean3d​(NormPerformance.VectorArrayInput input,
                                org.openjdk.jmh.infra.Blackhole bh)
        Compute the performance of the Norm.L2 3D norm computation.
        Parameters:
        input - benchmark input
        bh - blackhole
      • euclideanArray

        public void euclideanArray​(NormPerformance.VectorArrayInput input,
                                   org.openjdk.jmh.infra.Blackhole bh)
        Compute the performance of the Norm.L2 array norm method.
        Parameters:
        input - benchmark input
        bh - blackhole