- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 288 for Parallel (0.16 sec)
-
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/AsyncDispatchTest.groovy
message1: { parallel.syncAt(1) parallel.syncAt(2) }, message3: { parallel.syncAt(3) }) Dispatch<String> target2 = new DispatchStub( message2: { parallel.syncAt(2) parallel.syncAt(3) }) when: parallel.run { dispatch.dispatchTo(target1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/performance/parallelTestExecution/groovy/build.gradle
plugins { id('java-library') } // tag::parallel-4[] // tag::parallel-calculated[] // tag::fork-every[] // tag::disable-reports[] tasks.withType(Test).configureEach { // end::parallel-4[] // end::parallel-calculated[] // end::fork-every[] // end::disable-reports[] // tag::parallel-4[] maxParallelForks = 4 // end::parallel-4[] // tag::parallel-calculated[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 976 bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/RunnerFactory.groovy
private SmokeTestGradleRunner newKotlinRunner(boolean parallel, VersionNumber kotlinVersion, List<String> tasks) { List<String> args = [] // Parallel workers in Kotlin is enabled by Gradle's --parallel flag. See https://youtrack.jetbrains.com/issue/KT-46401/ // For context on why we test with parallel workers see https://github.com/gradle/gradle/pull/10404 if (parallel) { args = ["--parallel"] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy
} @Requires(value = IntegTestPreconditions.NotParallelExecutor, reason = """ Don't run in parallel mode, as the expectation for the setup build are incorrect It could potentially be worth running this in parallel mode to demonstrate the difference between parallel and configuration cache """) def "runs tasks in same project in parallel by default"() { server.start() given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/performance/parallelTestExecution/kotlin/build.gradle.kts
plugins { id("java-library") } // tag::parallel-4[] // tag::parallel-calculated[] // tag::fork-every[] // tag::disable-reports[] tasks.withType<Test>().configureEach { // end::parallel-4[] // end::parallel-calculated[] // end::fork-every[] // end::disable-reports[] // tag::parallel-4[] maxParallelForks = 4 // end::parallel-4[] // tag::parallel-calculated[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 995 bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIncrementalExecutionPerformanceTest.groovy
@Scenario(type = PER_COMMIT, operatingSystems = LINUX, testProjects = ["largeJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*parallel false.*'), ]) def "up-to-date assemble (parallel #parallel)"() { given: runner.tasksToRun = ['assemble'] runner.args += ["-Dorg.gradle.parallel=$parallel"] when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.1K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/java/ParallelBuildPerformanceTest.groovy
) class ParallelBuildPerformanceTest extends AbstractCrossBuildPerformanceTest { def "clean assemble with 4 parallel workers"() { given: runner.testGroup = "parallel builds" runner.buildSpec { displayName("parallel") invocation { args("-Dorg.gradle.parallel=true", "--max-workers=4") } } runner.baseline { displayName("serial")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeSoftwareModelParallelIntegrationTest.groovy
reason = "always runs in parallel, our mac currently lacks proper toolchain installations") abstract class AbstractNativeSoftwareModelParallelIntegrationTest extends AbstractNativeParallelIntegrationTest { abstract HelloWorldApp getApp() @ToBeFixedForConfigurationCache def "can execute link executable tasks in parallel"() { given: withComponentForApp()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy
models.projects.path == [':', ':a', ':b'] where: args << [ ["--no-parallel"], ["--parallel", "-Dorg.gradle.internal.tooling.parallel=false"] ] } @TargetGradleVersion(">=3.4 <6.8") def "nested actions do not run in parallel when target Gradle version does not support it"() { given: setupBuildWithDependencyResolution()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fail_fast.txt
t.Logf("LOG: %s", t.Name()) } func TestParallelFailingA(t *testing.T) { t.Parallel() t.Errorf("FAIL - %s", t.Name()) } func TestParallelFailingB(t *testing.T) { t.Parallel() t.Errorf("FAIL - %s", t.Name()) } func TestParallelFailingSubtestsA(t *testing.T) { t.Parallel() t.Run("TestFailingSubtestsA1", func(t *testing.T) { t.Errorf("FAIL - %s", t.Name()) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 3.8K bytes - Viewed (0)