- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 787 for iterations (4.36 sec)
-
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractPluginValidatingSmokeTest.groovy
$buildScriptConfigurationForValidation """ configureValidation(id, version) expect: performValidation(version) where: iterations << iterations() (id, version) = iterations } void configureValidation(String testedPluginId, String version) { allPlugins.alwaysPasses = true } void performValidation(String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/NativeCleanBuildPerformanceTest.groovy
]) ]) def "clean assemble (native)"() { given: def iterations = runner.testProject in ['smallNative', 'smallCppApp', 'smallCppMulti'] ? 40 : null runner.tasksToRun = ["assemble"] runner.cleanTasks = ["clean"] runner.runs = iterations runner.warmUpRuns = iterations when: def result = runner.run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.5K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDETaskExecutionPerformanceTest.groovy
then: result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference() } private setupRunner() { def iterations = determineIterations() runner.warmUpRuns = iterations runner.runs = iterations } private determineIterations() { return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/jmh/java/org/gradle/internal/deprecation/DeprecationIdCreationBenchmark.java
import org.openjdk.jmh.infra.Blackhole; import static org.gradle.internal.deprecation.DeprecationMessageBuilder.createDefaultDeprecationId; @SuppressWarnings("Since15") @Threads(2) @Warmup(iterations = 5) @Measurement(iterations = 5) @State(Scope.Benchmark) public class DeprecationIdCreationBenchmark { @Benchmark public void idCreation(Blackhole bh) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 06:13:13 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy
then: result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference() } private setupRunner() { def iterations = determineIterations() runner.warmUpRuns = iterations runner.runs = iterations } private determineIterations() { return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
testing/performance/src/templates/task-creation/build.gradle
* See the License for the specific language governing permissions and * limitations under the License. */ @groovy.transform.CompileStatic void createTasks(Project p, int iterations) { for (int i=0; i<iterations; i++) { p.task("foo\$i", type: Copy) } } if (tasks.metaClass.respondsTo(tasks, "register")) { for (int i=0; i<$taskCount; i++) { project.tasks.register("foo\$i", Copy)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 974 bytes - Viewed (0) -
testing/performance/src/templates/generateLotsOfDeprecationWarnings/build.gradle
* See the License for the specific language governing permissions and * limitations under the License. */ @groovy.transform.CompileStatic void createDeprecations(int iterations) { for (int i = 0; i < iterations; i++) { // every 10th deprecation should have a different message if (i % 10 == 0) { nagUserOfDeprecated("Some unique deprecation No #\$i") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java
import java.io.IOException; import java.nio.file.Path; import java.nio.file.attribute.BasicFileAttributes; import java.util.Map; import java.util.UUID; @SuppressWarnings("Since15") @Threads(2) @Warmup(iterations = 5) @Measurement(iterations = 5) @State(Scope.Benchmark) public class FileMetadataAccessorBenchmark { private static final Map<String, FileMetadataAccessor> ACCESSORS = ImmutableMap.<String, FileMetadataAccessor>builder()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java
FileUtils.forceDelete(tempRootDir.toFile()); } @Setup(Level.Iteration) public void setupIteration() throws IOException { this.tempDirPath = Files.createTempDirectory(tempRootDir, "iteration"); this.tempDirFile = tempDirPath.toFile(); this.counter = new AtomicInteger(); } @TearDown(Level.Iteration) public void tearDownIteration() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.7K bytes - Viewed (0) -
src/compress/lzw/reader_test.go
// expansions. In particular, it tests seeing the highest possible code, 4095. func TestNoLongerSavingPriorExpansions(t *testing.T) { // Iterations is used to calculate how many input bits are needed to get // the decoder.hi and decoder.width values up to their maximum. iterations := []struct { width, n int }{ // The final term is 257, not 256, as NewReader initializes d.hi to // d.clear+1 and the clear code is 256.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:58 UTC 2024 - 7.6K bytes - Viewed (0)