Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for benchmarking (0.21 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildModelParameters.java

         * This parameter is only used for benchmarking purposes.
         */
        public boolean isInvalidateCoupledProjects() {
            return invalidateCoupledProjects;
        }
    
        /**
         * Should model dependencies between projects be treated as project dependencies with respect to invalidation?
         * <p>
         * This parameter is only used for benchmarking purposes.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/log/slog/internal/ignorepc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package internal
    
    // If IgnorePC is true, do not invoke runtime.Callers to get the pc.
    // This is solely for benchmarking the slowdown from runtime.Callers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 338 bytes
    - Viewed (0)
  3. src/testing/testing_other.go

    // highPrecisionTime represents a single point in time.
    // On all systems except Windows, using time.Time is fine.
    type highPrecisionTime struct {
    	now time.Time
    }
    
    // highPrecisionTimeNow returns high precision time for benchmarking.
    func highPrecisionTimeNow() highPrecisionTime {
    	return highPrecisionTime{now: time.Now()}
    }
    
    // highPrecisionTimeSince returns duration since b.
    func highPrecisionTimeSince(b highPrecisionTime) time.Duration {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 27 19:42:36 UTC 2024
    - 876 bytes
    - Viewed (0)
  4. hack/tools/tools.go

    	_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
    	_ "github.com/jcchavezs/porto/cmd/porto"
    	_ "honnef.co/go/tools/cmd/staticcheck"
    	_ "sigs.k8s.io/logtools/logcheck"
    
    	// benchmarking tools
    	_ "github.com/cespare/prettybench"
    	_ "gotest.tools/gotestsum"
    
    	// mockgen
    	_ "go.uber.org/mock/mockgen"
    
    	// tools like cpu
    	_ "go.uber.org/automaxprocs"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/testing/testing_windows.go

    //
    // TODO: If Windows runtime implements high resolution timing then highPrecisionTime
    // can be removed.
    type highPrecisionTime struct {
    	now int64
    }
    
    // highPrecisionTimeNow returns high precision time for benchmarking.
    func highPrecisionTimeNow() highPrecisionTime {
    	var t highPrecisionTime
    	// This should always succeed for Windows XP and above.
    	t.now = windows.QueryPerformanceCounter()
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/benchmark_main.template

    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains the main function and logic for benchmarking code
    // generated by tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be
    // rewritten to real values before this file can be compiled.
    //
    //    TFCOMPILE_HEADER    : Path to the header file generated by tfcompile.
    //    TFCOMPILE_CPP_CLASS : Name of the C++ class generated by tfcompile.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/benchmark/bench.go

    //	  bar()
    //	}
    //
    // Note that a nil Metrics object won't cause any errors, so one could write
    // code like:
    //
    //	func main() {
    //	  enableBenchmarking := flag.Bool("enable", true, "enables benchmarking")
    //	  flag.Parse()
    //	  var bench *benchmark.Metrics
    //	  if *enableBenchmarking {
    //	    bench = benchmark.New(benchmark.GC)
    //	  }
    //	  bench.Start("foo")
    //	  // etc.
    //	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.h

      // tensorflow.
      void Prepare(llvm::StringRef mlir_input);
    
      // Execute() can be called several times after the call to Prepare() (e.g. for
      // benchmarking).
      llvm::SmallVector<Tensor> Execute(llvm::StringRef function_name,
                                        llvm::ArrayRef<Tensor> arguments);
    
     private:
      void RunTfrtInitializer();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 14 22:40:40 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Package up sample data for common collections benchmarking.
     *
     * @author Nicholaus Shupe
     */
    class CollectionBenchmarkSampleData {
      private final boolean isUserTypeFast;
      private final SpecialRandom random;
      private final double hitRate;
      private final int size;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/net/http/mapping.go

    	m map[K]V       // for many pairs
    }
    
    type entry[K comparable, V any] struct {
    	key   K
    	value V
    }
    
    // maxSlice is the maximum number of pairs for which a slice is used.
    // It is a variable for benchmarking.
    var maxSlice int = 8
    
    // add adds a key-value pair to the mapping.
    func (h *mapping[K, V]) add(k K, v V) {
    	if h.m == nil && len(h.s) < maxSlice {
    		h.s = append(h.s, entry[K, V]{k, v})
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 17:47:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top