- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,356 for iterations (0.2 sec)
-
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java
import org.openjdk.jmh.infra.Blackhole; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; @Fork(1) @Warmup(iterations = 5) @Measurement(iterations = 10) @State(Scope.Benchmark) public class FileWalkingBenchmark { Path tempDirPath; Path missingPath; Path existingPath; File tempDirFile; File missingFile;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java
* OptionalBenchmark.nullCheck thrpt 20 107887111.061 ± 882182.482 ops/s * OptionalBenchmark.optional thrpt 20 86746312.090 ± 1150860.296 ops/s **/ @Fork(2) @Warmup(iterations = 10, time = 1, timeUnit = SECONDS) @Measurement(iterations = 10, time = 1, timeUnit = SECONDS) @State(Scope.Benchmark) public class OptionalBenchmark { final Path path = Paths.get(".");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.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) -
platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/HashingAlgorithmsBenchmark.java
import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Map; import java.util.Random; @Fork(1) @Threads(4) @Warmup(iterations = 5) @Measurement(iterations = 5) @State(Scope.Benchmark) public class HashingAlgorithmsBenchmark { private static MessageDigest getDigest(String name) { try { return MessageDigest.getInstance(name);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.1K 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) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java
FileUtils.forceDelete(tempDir.toFile()); } @Setup(Level.Iteration) public void setupIteration() throws IOException { this.iterationDir = Files.createTempDirectory(tempDir, "iteration-"); } @TearDown(Level.Iteration) public void tearDownIteration() throws IOException { FileUtils.forceDelete(iterationDir.toFile());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 7.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/UnsupportedWithConfigurationCache.java
String because() default ""; String[] bottomSpecs() default {}; /** * Declare regular expressions matching the iteration name. * Defaults to an empty array, meaning this annotation applies to all iterations of the annotated feature. */ String[] iterationMatchers() default {};
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/race/output_test.go
"fmt" ) func main() { c := make(chan bool, 1) threads := 1 iterations := 20000 data := 0 var wg sync.WaitGroup for i := 0; i < threads; i++ { wg.Add(1) go func() { defer wg.Done() for i := 0; i < iterations; i++ { c <- true data += 1 <- c } }() } for i := 0; i < iterations; i++ { c <- true data += 1 <- c } wg.Wait()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
/** * <p>Xpp3DomPerfTest class.</p> */ @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Warmup(iterations = 3) @Measurement(time = 10) public class Xpp3DomPerfTest { @State(Scope.Benchmark) public static class AdditionState { List<Path> poms; @Setup(Level.Iteration) public void setUp() throws IOException { Path userHome = Paths.get(System.getProperty("user.home"));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Oct 20 07:14:01 UTC 2023 - 2.9K bytes - Viewed (0)