Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 288 for Parallel (0.42 sec)

  1. pkg/test/framework/integration/framework_test.go

    	newLevels().
    		// Level 1: bf=20(parallel)
    		Add(20, true).
    		// Level 2: bf=5(parallel)
    		Add(5, true).
    		// Level 3: bf=2(parallel)
    		Add(2, true).
    		Build().
    		Run(t)
    }
    
    func TestMix(t *testing.T) {
    	// Root is always run sync.
    	newLevels().
    		// Level 1: bf=20(parallel)
    		Add(20, true).
    		// Level 2: bf=5(sync)
    		Add(5, false).
    		// Level 3: bf=2(parallel)
    		Add(2, true).
    		Build().
    		Run(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/EnablingParallelExecutionIntegrationTest.groovy

    @Requires(IntegTestPreconditions.NotParallelExecutor)
    class EnablingParallelExecutionIntegrationTest extends AbstractIntegrationSpec {
    
        def "parallel mode enabled via gradle.properties"() {
            file("gradle.properties") << "org.gradle.parallel=true"
            buildFile << "assert gradle.startParameter.parallelProjectExecutionEnabled"
            expect:
            run()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerArgumentsIntegrationTest.groovy

        }
    
        def "can enable parallel execution via --parallel property"() {
            given:
            buildScript """
                task writeValue {
                    doLast {
                        file("out.txt").text = gradle.startParameter.parallelProjectExecutionEnabled
                    }
                }
            """
    
            when:
            runner("writeValue", "--parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationBuildOperationIntegrationTest.groovy

                            ${server.callFromBuild("parallel-task-done")}
                        }
                    }
                """
            }
            def numWorkers = (parallelTaskCount / 2) + 2 as int
    
            when:
            server.expectConcurrent(numWorkers, ["parallel-task-done"] * parallelTaskCount + ["before-interrupt"] as String[])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:46:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageParallelIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can execute assembler tasks in parallel"() {
            given:
            withComponentForApp()
            createTaskThatRunsInParallelUsingCustomToolchainWith("assembleMainExecutableMainAsm")
            buildFile << """
                // prevent assembly and c compile tasks from running in parallel
                // this is because we don't want the c compile tasks to accidentally use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy

        @RunFor([
            @Scenario(type = PER_DAY, operatingSystems = [LINUX], testProjects =  ['manyProjectsNative'])
        ])
        def "clean assemble (native, parallel)"() {
            given:
            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
            runner.args = ["--parallel", "--max-workers=12"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalActionAwareBuildController.java

     *
     * @since 6.8
     */
    public interface InternalActionAwareBuildController {
        /**
         * Can the given project model be queried in parallel for this build?
         */
        boolean getCanQueryProjectModelInParallel(Class<?> modelType);
    
        /**
         * Runs the given actions in parallel and returns the results. The results should be returned in the same order as the actions that produce them.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy

        }
    
        @Override
        TestJvmComponent getComponent() {
            return new TestScalaComponent()
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @UnsupportedWithConfigurationCache(because = "parallel by default")
        def "reuses compiler daemons within a single project across multiple builds when enabled"() {
            withSingleProjectSources()
            withPersistentScalaCompilerDaemons()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleHandle.java

        @Override
        protected ExecutionResult toExecutionFailure(String output, String error) {
            return new ParallelExecutionResult(output, error);
        }
    
        /**
         * Need a different output comparator for parallel execution.
         */
        private static class ParallelExecutionResult extends OutputScrapingExecutionFailure {
            public ParallelExecutionResult(String output, String error) {
                super(output, error, true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/core-plugins/pmd_plugin.adoc

    It means that you have to pay attention to the value entered here and make sure it still makes sense in a multi project build.
    This is because parallel Gradle task execution could result in different PMD tasks from different projects running in parallel.
    If multiple PMD tasks execute simultaneously in n projects, then up to a maximum of (n * `thread`) PMD threads could run at the same time.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top