"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/WorkerApiPerformanceTest.groovy" between
gradle-6.8.2-src.zip and gradle-6.8.3-src.zip

About: Gradle is a build tool with a focus on build automation and support for multi-language development.

WorkerApiPerformanceTest.groovy  (gradle-6.8.2-src):WorkerApiPerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 27 skipping to change at line 27
package org.gradle.performance.regression.corefeature package org.gradle.performance.regression.corefeature
import org.gradle.performance.AbstractCrossVersionPerformanceTest import org.gradle.performance.AbstractCrossVersionPerformanceTest
import spock.lang.Ignore import spock.lang.Ignore
import spock.lang.Unroll import spock.lang.Unroll
@Ignore('https://github.com/gradle/gradle-private/issues/2971') @Ignore('https://github.com/gradle/gradle-private/issues/2971')
class WorkerApiPerformanceTest extends AbstractCrossVersionPerformanceTest { class WorkerApiPerformanceTest extends AbstractCrossVersionPerformanceTest {
def setup() { def setup() {
runner.minimumBaseVersion = '5.0' runner.minimumBaseVersion = '5.0'
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
runner.testProject = "workerApiProject" runner.testProject = "workerApiProject"
} }
@Unroll @Unroll
def "executing tasks with no isolation with work=#workItems / workers=#worke rs"() { def "executing tasks with no isolation with work=#workItems / workers=#worke rs"() {
given: given:
runner.tasksToRun = ['clean', 'noIsolation', "-PoutputSize=$workItems"] runner.tasksToRun = ['clean', 'noIsolation', "-PoutputSize=$workItems"]
runner.args = [ "--max-workers=$workers" ] runner.args = [ "--max-workers=$workers" ]
when: when:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)