Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for warmupRun (0.81 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestSpec.java

            return runs;
        }
    
        public void setRuns(Integer runs) {
            this.runs = runs;
        }
    
        public Integer getWarmUpRuns() {
            return warmUpRuns;
        }
    
        public void setWarmUpRuns(Integer warmUpRuns) {
            this.warmUpRuns = warmUpRuns;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/AbstractIncrementalExecutionPerformanceTest.groovy

        def setup() {
            runner.useToolingApi = true
            if (OperatingSystem.current().linux) {
                runner.warmUpRuns = 10
                runner.runs = 40
            } else {
                // Reduce the number of iterations on Windows and macOS, since the performance tests are slower there
                runner.warmUpRuns = 5
                runner.runs = 20
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

        def setup() {
            runner.warmUpRuns = 11
            runner.runs = 21
            runner.minimumBaseVersion = "3.5"
        }
    
        def "clean assemble with remote http cache"() {
            setupTestProject(runner)
            protocol = "http"
            pushToRemote = true
            runner.useDaemon = false
            runner.warmUpRuns = 2
            runner.runs = 8
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/declarativedsl/DeclarativeDslFirstUsePerformanceTest.groovy

        private static final String MINIMUM_BASE_VERSION = "8.8" // Declarative DSL not present in earlier versions
    
        def "first use"() {
            given:
            runner.tasksToRun = ['tasks']
            runner.warmUpRuns = WARMUP_RUNS
            runner.runs = MEASUREMENT_RUNS
            runner.minimumBaseVersion = MINIMUM_BASE_VERSION
            runner.useDaemon = false
            runner.addBuildMutator { invocationSettings ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:12 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleVsMavenPerformanceTestRunner.groovy

            baseline {
                warmUpCount = warmUpRuns
                invocationCount = runs
                projectName(testProject).displayName("Gradle $commonBaseDisplayName").invocation {
                    tasksToRun(gradleTasks).jvmArgs(jvmOpts.collect { it.toString() })
                }
            }
            mavenBuildSpec {
                warmUpCount = warmUpRuns
                invocationCount = runs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/maven/JavaTestGradleVsMavenPerformanceTest.groovy

            runner.equivalentMavenTasks = ["clean", mavenTask]
            if (mavenTask == "package") {
                runner.mvnArgs << "-Dmaven.test.skip=true"
            }
            runner.warmUpRuns = 2
            runner.runs = 5
    
            when:
            def results = runner.run()
    
            then:
            results.assertFasterThanMaven()
    
            where:
            gradleTask | mavenTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/RealWorldNativePluginPerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = "4.0"
        }
    
        def "build with #parallelWorkers parallel workers"() {
            given:
            runner.tasksToRun = ['build']
            runner.warmUpRuns = 5
            runner.runs = 10
    
            runner.args += ["-Dorg.gradle.parallel=${parallelWorkers ? true : false}"]
            if (parallelWorkers) {
                runner.args += ["--max-workers=$parallelWorkers".toString()]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/RichConsolePerformanceTest.groovy

        ])
        def "#tasks with rich console"() {
            given:
            runner.tasksToRun = tasks.split(' ')
            runner.warmUpRuns = 5
            runner.runs = 8
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaCleanAssemblePerformanceTest.groovy

    ])
    class JavaCleanAssemblePerformanceTest extends AbstractCrossVersionPerformanceTest {
    
        def "clean assemble"() {
            given:
            runner.warmUpRuns = 2
            runner.runs = 6
            runner.tasksToRun = ["clean", "assemble"]
            runner.minimumBaseVersion = runner.testProject.contains("Composite") ? "4.0" : null
    
            when:
            def result = runner.run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy

            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
            runner.runs = iterations
            runner.warmUpRuns = iterations
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top