"Fossies" - the Fresh Open Source Software Archive  

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

JavaFirstUsePerformanceTest.groovy  (gradle-6.8.2-src):JavaFirstUsePerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 36 skipping to change at line 36
import static org.gradle.performance.annotations.ScenarioType.SLOW import static org.gradle.performance.annotations.ScenarioType.SLOW
import static org.gradle.performance.generator.JavaTestProjectGenerator.LARGE_JA VA_MULTI_PROJECT_KOTLIN_DSL import static org.gradle.performance.generator.JavaTestProjectGenerator.LARGE_JA VA_MULTI_PROJECT_KOTLIN_DSL
import static org.gradle.performance.results.OperatingSystem.LINUX import static org.gradle.performance.results.OperatingSystem.LINUX
@RunFor( @RunFor(
@Scenario(type = SLOW, operatingSystems = [LINUX], testProjects = ["largeMon olithicJavaProject", "largeJavaMultiProject", "largeJavaMultiProjectKotlinDsl"]) @Scenario(type = SLOW, operatingSystems = [LINUX], testProjects = ["largeMon olithicJavaProject", "largeJavaMultiProject", "largeJavaMultiProjectKotlinDsl"])
) )
class JavaFirstUsePerformanceTest extends AbstractCrossVersionPerformanceTest { class JavaFirstUsePerformanceTest extends AbstractCrossVersionPerformanceTest {
def setup() { def setup() {
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
} }
def "first use"() { def "first use"() {
given: given:
runner.tasksToRun = ['tasks'] runner.tasksToRun = ['tasks']
runner.runs = (runner.testProject == (LARGE_JAVA_MULTI_PROJECT_KOTLIN_DS L.projectName) ? 5 : 10) runner.runs = (runner.testProject == (LARGE_JAVA_MULTI_PROJECT_KOTLIN_DS L.projectName) ? 5 : 10)
runner.useDaemon = false runner.useDaemon = false
runner.addBuildMutator { invocationSettings -> runner.addBuildMutator { invocationSettings ->
new ClearGradleUserHomeMutator(invocationSettings.gradleUserHome, Ab stractCleanupMutator.CleanupSchedule.BUILD) new ClearGradleUserHomeMutator(invocationSettings.gradleUserHome, Ab stractCleanupMutator.CleanupSchedule.BUILD)
} }
 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)