Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 377 for Parallel (0.33 sec)

  1. platforms/documentation/docs/src/snippets/performance/parallelTestExecution/groovy/settings.gradle

    rootProject.name = 'parallel-test-execution'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 45 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/msan_test.go

    		t.Fatal(err)
    	}
    	// The msan tests require support for the -msan option.
    	if !platform.MSanSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; -msan option is not supported.", goos, goarch)
    	}
    
    	t.Parallel()
    	// Overcommit is enabled by default on FreeBSD (vm.overcommit=0, see tuning(7)).
    	// Do not skip tests with stricter overcommit settings unless testing shows that FreeBSD has similar issues.
    	if goos == "linux" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/features/client_adapter.go

    // feature Gate and Registry interfaces. The component-base types Feature, FeatureSpec, and
    // prerelease, and the component-base prerelease constants, are duplicated by parallel types and
    // constants in client-go. The parallel types exist to allow the feature gate mechanism to be used
    // for client-go features without introducing a circular dependency between component-base and
    // client-go.
    type clientAdapter struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 16 17:51:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testsanitizers/asan_test.go

    	// otherwise a segmentation fault will occur.
    	if !compilerRequiredAsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s: too old version of compiler", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("address")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src               string
    		memoryAccessError string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleExecuter.java

            args.addAll(super.getAllArgs());
            if (getDistribution().getVersion().compareTo(GradleVersion.version("2.3")) <= 0) {
                args.add("--parallel-threads=4");
            } else {
                args.add("--parallel");
                maybeSetMaxWorkers(args);
            }
            return args;
        }
    
        private void maybeSetMaxWorkers(List<String> args) {
            for (String arg : args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/objdump/objdump_test.go

    			ok = false
    		}
    	}
    
    	if !ok || testing.Verbose() {
    		t.Logf("full disassembly:\n%s", text)
    	}
    }
    
    func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) {
    	t.Parallel()
    	testDisasm(t, "fmthello.go", printCode, printGnuAsm)
    	if testenv.HasCGO() {
    		testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm)
    	}
    }
    
    func TestDisasm(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

        )
        def "clean assemble with local cache"() {
            given:
            setupTestProject(runner)
            runner.args += "--parallel"
            pushToRemote = false
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    go test
    
    # For the fuzzing phase, we reduce GOMAXPROCS to avoid consuming too many
    # resources during the test. Ideally this would just free up resources to run
    # other parallel tests more quickly, but unfortunately it is actually necessary
    # in some 32-bit environments to prevent the fuzzing engine from running out of
    # address space (see https://go.dev/issue/65434).
    env GOMAXPROCS=2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentDependencyResolutionIntegrationTest.groovy

    import spock.lang.Issue
    
    @Requires(IntegTestPreconditions.NotParallelExecutor)
    // no point, always runs in parallel
    class ConcurrentDependencyResolutionIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            requireOwnGradleUserHomeDir()
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=8')
        }
    
        @Issue("gradle/performance#502")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. src/testing/benchmark_test.go

    	// specific algorithm (in this case, sorting) in parallel.
    	testing.Benchmark(func(b *testing.B) {
    		var compares atomic.Int64
    		b.RunParallel(func(pb *testing.PB) {
    			for pb.Next() {
    				s := []int{5, 4, 3, 2, 1}
    				slices.SortFunc(s, func(a, b int) int {
    					// Because RunParallel runs the function many
    					// times in parallel, we must increment the
    					// counter atomically to avoid racing writes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top