"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/LargeDependencyGraphPerformanceTest.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.

LargeDependencyGraphPerformanceTest.groovy  (gradle-6.8.2-src):LargeDependencyGraphPerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 39 skipping to change at line 39
@RunFor( @RunFor(
@Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["excludeR uleMergingBuild"]) @Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["excludeR uleMergingBuild"])
) )
class LargeDependencyGraphPerformanceTest extends AbstractCrossVersionPerformanc eTest implements WithExternalRepository { class LargeDependencyGraphPerformanceTest extends AbstractCrossVersionPerformanc eTest implements WithExternalRepository {
public static final String MIN_MEMORY = "-Xms800m" public static final String MIN_MEMORY = "-Xms800m"
public static final String MAX_MEMORY = "-Xmx800m" public static final String MAX_MEMORY = "-Xmx800m"
def setup() { def setup() {
runner.minimumBaseVersion = '4.8' runner.minimumBaseVersion = '4.8'
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
} }
def "resolve large dependency graph from file repo"() { def "resolve large dependency graph from file repo"() {
given: given:
runner.tasksToRun = ['resolveDependencies'] runner.tasksToRun = ['resolveDependencies']
runner.gradleOpts = [MIN_MEMORY, MAX_MEMORY] runner.gradleOpts = [MIN_MEMORY, MAX_MEMORY]
runner.args = ["-PnoExcludes"] runner.args = ["-PnoExcludes"]
when: when:
def result = runner.run() def result = runner.run()
skipping to change at line 62 skipping to change at line 62
result.assertCurrentVersionHasNotRegressed() result.assertCurrentVersionHasNotRegressed()
} }
@Unroll @Unroll
def "resolve large dependency graph (parallel = #parallel, locking = #lockin g)"() { def "resolve large dependency graph (parallel = #parallel, locking = #lockin g)"() {
startServer() startServer()
given: given:
runner.tasksToRun = ['resolveDependencies'] runner.tasksToRun = ['resolveDependencies']
runner.gradleOpts = [MIN_MEMORY, MAX_MEMORY] runner.gradleOpts = [MIN_MEMORY, MAX_MEMORY]
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
runner.args = ['-PuseHttp', "-PhttpPort=${serverPort}", '-PnoExcludes'] runner.args = ['-PuseHttp', "-PhttpPort=${serverPort}", '-PnoExcludes']
if (parallel) { if (parallel) {
runner.args += '--parallel' runner.args += '--parallel'
} }
if (locking) { if (locking) {
runner.args += '-PuseLocking' runner.args += '-PuseLocking'
} }
when: when:
def result = runner.run() def result = runner.run()
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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