Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanLocalCache (0.18 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

            setupTestProject(runner)
            protocol = "http"
            pushToRemote = true
            runner.useDaemon = false
            runner.warmUpRuns = 2
            runner.runs = 8
            runner.addBuildMutator { cleanLocalCache() }
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

                        url = '${buildCacheServer.uri}/'
                        push = ${pushToRemote}
                    }
                }
            """.stripIndent()
        }
    
        BuildMutator cleanLocalCache() {
            new BuildMutator() {
                @Override
                void beforeBuild(BuildContext context) {
                    cacheDir.deleteDir().mkdirs()
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top