Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for Benchmarks (0.07 sec)

  1. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the rounding methods of {@code BigIntegerMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= lhs.equalsIgnoreCase(rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean isUpperCase(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

    package com.google.common.collect;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.base.Optional;
    import com.google.common.primitives.Ints;
    import java.util.List;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the {@code TreeTraverser} operations on binary trees.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    import static java.math.RoundingMode.CEILING;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the non-rounding methods of {@code BigIntegerMath}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class BigIntegerMathBenchmark {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

     */
    
    package com.google.common.math;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for various algorithms for computing the mean and/or variance.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import java.math.BigInteger;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= lhs.equalsIgnoreCase(rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean isUpperCase(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

     */
    
    package com.google.common.base;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Arrays;
    import java.util.Iterator;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

    package com.google.common.collect;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.common.base.Optional;
    import com.google.common.primitives.Ints;
    import java.util.List;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for the {@code TreeTraverser} operations on binary trees.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for certain methods of {@code UnsignedLongs}.
     *
     * @author Eamonn McManus
     */
    @NullUnmarked
    public class UnsignedLongsBenchmark {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top