Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for benchmarking (0.15 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/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)
  3. 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)
  4. 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)
  5. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

            allowEmpty = false,
            description = "Command line option for the performance test task to enable profiling. For example `async-profiler`, `async-profiler-heap`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only."
        )
    }
    
    object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
    object AdHocPerformanceScenarioWindows : AdHocPerformanceScenario(Os.WINDOWS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/BUILD

    )
    
    mlir_to_bef(
        name = "custom_thread_pool.mlir",
        tfrt_translate = "//tensorflow/compiler/mlir/tfrt:tfrt_fallback_translate",
    )
    
    # copybara:uncomment_begin(internal benchmarking)
    # # C++ benchmarks for batch function runtime fallback.
    # tfrt_cc_test_and_strict_benchmark(
    #     name = "batch_function_fallback_benchmark_test",
    #     srcs = ["batch_function_fallback_benchmark_test.cc"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/bench_test.go

    		atomic.Store(&x, 0)
    	}
    }
    
    func BenchmarkAnd8(b *testing.B) {
    	var x [512]uint8 // give byte its own cache line
    	sink = &x
    	for i := 0; i < b.N; i++ {
    		atomic.And8(&x[255], uint8(i))
    	}
    }
    
    func BenchmarkAnd(b *testing.B) {
    	var x [128]uint32 // give x its own cache line
    	sink = &x
    	for i := 0; i < b.N; i++ {
    		atomic.And(&x[63], uint32(i))
    	}
    }
    
    func BenchmarkAnd8Parallel(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/errors/wrap_test.go

    			}()
    			if errors.As(err, tc) {
    				t.Errorf("As(err, %T(%v)) = true, want false", tc, tc)
    				return
    			}
    			t.Errorf("As(err, %T(%v)) did not panic", tc, tc)
    		})
    	}
    }
    
    func BenchmarkIs(b *testing.B) {
    	err1 := errors.New("1")
    	err2 := multiErr{multiErr{multiErr{err1, errorT{"a"}}, errorT{"b"}}}
    
    	for i := 0; i < b.N; i++ {
    		if !errors.Is(err2, err1) {
    			b.Fatal("Is failed")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:49 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top