Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 379 for Parallel (0.15 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/multi_project_configuration_and_execution.adoc

    [[sec:parallel_execution]]
    == Parallel projects
    
    Gradle's parallel execution feature optimizes CPU utilization to accelerate builds by concurrently executing tasks from different projects.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 21:08:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractKotlinPluginAndroidSmokeTest.groovy

        VersionNumber kotlinPluginVersion
    
        def "kotlin android on android-kotlin-example using #dsl DSL (kotlin=#kotlinPluginVersion, agp=#androidPluginVersion, workers=#parallel)"(String kotlinPluginVersion, String androidPluginVersion, boolean parallel) {
            given:
            AndroidHome.assertIsSet()
            AGP_VERSIONS.assumeAgpSupportsCurrentJavaVersionAndKotlinVersion(androidPluginVersion, kotlinPluginVersion)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 04:59:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/testing/helper_test.go

    	// We expect to see one "--- FAIL" line at the start
    	// of the log, five lines of "parallel" logging,
    	// and a final "FAIL" line at the end of the test.
    	const wantLines = 7
    
    	if len(lines) != wantLines {
    		t.Fatalf("parallelTestHelper gave %d lines of output; want %d", len(lines), wantLines)
    	}
    	want := "helperfuncs_test.go:24: parallel"
    	if got := strings.TrimSpace(lines[1]); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildParallelIntegrationTest.groovy

                                Thread.sleep(100)
                            }
                        }
                    """
                }
            }
            expect:
            execute(buildA, "delegate", "--parallel", "--max-workers=$maxWorkers")
            operations.assertConcurrentOperationsDoNotExceed(ExecuteTaskBuildOperationType, maxWorkers, maxWorkers != 1)
    
            where:
            maxWorkers << [ 1, 2, 4 ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/nativeplatform/NativeParallelPerformanceTest.groovy

    )
    class NativeParallelPerformanceTest extends AbstractCrossBuildPerformanceTest {
    
        def "clean assemble with parallel workers"() {
            given:
            runner.testGroup = 'parallel builds'
            runner.buildSpec {
                displayName("parallel")
                invocation {
                    tasksToRun("clean", "assemble")
                }
            }
            runner.baseline {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/os/tempfile_test.go

    package os_test
    
    import (
    	"errors"
    	"io/fs"
    	. "os"
    	"path/filepath"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestCreateTemp(t *testing.T) {
    	t.Parallel()
    
    	dir, err := MkdirTemp("", "TestCreateTempBadDir")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer RemoveAll(dir)
    
    	nonexistentDir := filepath.Join(dir, "_not_exists_")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/id/LongIdGeneratorTest.groovy

            Set<Long> ids = new CopyOnWriteArraySet<Long>()
    
            5.times {
                parallel.start {
                    100.times {
                        assertTrue(ids.add(generator.generateId()))
                    }
                }
            }
            parallel.waitForAll()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesParallelIntegrationTest.groovy

            when:
            succeeds(":resolve", "--parallel")
    
            then:
            outputContains("processing producer.jar using []")
            outputContains("processing consumer.jar using [producer.jar]")
    
            when:
            succeeds(":resolve", "--parallel")
    
            then:
            outputDoesNotContain("processing")
    
            when:
            succeeds(":resolve", "--parallel", "-DproducerContent=changed")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. testing/performance/src/templates/project-with-source/gradle.properties

    <% if (binding.hasVariable("daemonMemory")) { %>org.gradle.jvmargs=-Xms${binding.getVariable("daemonMemory")} -Xmx${binding.getVariable("daemonMemory")}<% } %>
    <% if (binding.hasVariable("parallel")) { %>org.gradle.parallel=true<% } %>
    <% if (binding.hasVariable("maxWorkers")) { %>org.gradle.workers.max=${binding.getVariable("maxWorkers")}<% } %>
    compilerMemory=<% if (binding.hasVariable("compilerMemory")) { %>${binding.getVariable("compilerMemory")}<% } else { %>1g<% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 742 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/initialization/ParallelismConfigurationCommandLineConverterTest.groovy

        final def converter = new ParallelismBuildOptions().commandLineConverter()
    
        def "converts parallel executor"() {
            when:
            def result = convert("--parallel")
    
            then:
            result.parallelProjectExecutionEnabled == true
    
            when:
            result = convert("--no-parallel")
    
            then:
            result.parallelProjectExecutionEnabled == false
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 07 06:09:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top