Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 389 for BenchmarkZ (0.21 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    public class HashMultisetAddPresentBenchmark {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/jmh/java/org/gradle/internal/deprecation/DeprecationIdCreationBenchmark.java

    @SuppressWarnings("Since15")
    @Threads(2)
    @Warmup(iterations = 5)
    @Measurement(iterations = 5)
    @State(Scope.Benchmark)
    public class DeprecationIdCreationBenchmark {
    
        @Benchmark
        public void idCreation(Blackhole bh) {
            bh.consume(createDefaultDeprecationId("The detachedConfiguration1 configuration has been deprecated for consumption."));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 06:13:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Random;
    import java.util.Set;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/analyzers_bench_test.go

    			sa, err := setupAnalyzerForCase(tc, nil)
    			if err != nil {
    				b.Fatalf("Error setting up analysis for benchmark on testcase %s: %v", tc.name, err)
    			}
    
    			b.ResetTimer()
    
    			// Run the analysis
    			_, err = runAnalyzer(sa)
    			if err != nil {
    				b.Fatalf("Error running analysis for benchmark on testcase %s: %v", tc.name, err)
    			}
    		})
    	}
    }
    
    func BenchmarkAnalyzersArtificialBlankData100(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        }
        return striped;
      }
    
      @Benchmark
      long timeConstruct(long reps) {
        long rvalue = 0;
        int numStripesLocal = numStripes;
        Impl implLocal = impl;
        for (long i = 0; i < reps; i++) {
          rvalue += implLocal.get(numStripesLocal).hashCode();
        }
        return rvalue;
      }
    
      @Benchmark
      long timeGetAt(long reps) {
        long rvalue = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.BitSet;
    import java.util.Random;
    
    /** Benchmark for the {@link CharMatcher#whitespace} implementation. */
    public class WhitespaceMatcherBenchmark {
      private static final int STRING_LENGTH = 10000;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.BitSet;
    import java.util.Random;
    
    /** Benchmark for the {@link CharMatcher#whitespace} implementation. */
    public class WhitespaceMatcherBenchmark {
      private static final int STRING_LENGTH = 10000;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

    import static com.google.common.collect.DiscreteDomain.integers;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Set;
    
    /**
     * Very simple powerSet iteration benchmark.
     *
     * @author Kevin Bourrillion
     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/auto_clustering_test.cc

    Status BenchmarkHelper(absl::string_view key, benchmark::State& state) {
      return BenchmarkMarkForCompilation(
          absl::StrCat(testing::TensorFlowSrcRoot(), "/compiler/jit/tests/", key,
                       ".pbtxt"),
          state);
    }
    
    void BM_MarkForCompilationPass_KerasImagenetMain(benchmark::State& state) {
      TF_CHECK_OK(BenchmarkHelper("keras_imagenet_main", state));
    }
    
    BENCHMARK(BM_MarkForCompilationPass_KerasImagenetMain);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 13 20:13:03 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_test_simple.txt

    [short] skip
    
    # Test
    go test -list=Test
    stdout TestSimple
    
    # Benchmark
    go test -list=Benchmark
    stdout BenchmarkSimple
    
    # Examples
    go test -list=Example
    stdout ExampleSimple
    stdout ExampleWithEmptyOutput
    
    -- go.mod --
    module m
    
    go 1.16
    -- bench_test.go --
    package testlist
    
    import (
    	"fmt"
    	"testing"
    )
    
    func BenchmarkSimplefunc(b *testing.B) {
    	b.StopTimer()
    	b.StartTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 856 bytes
    - Viewed (0)
Back to top