- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BenchmarkCode (0.24 sec)
-
src/text/tabwriter/tabwriter_test.go
} w.Flush() } }) } } const codeSnippet = ` some command foo # aligned barbaz # comments but mostly single cell lines ` func BenchmarkCode(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { w := NewWriter(io.Discard, 4, 4, 1, ' ', 0) // no particular reason for these settings // The code is small, so it's reasonable for the tabwriter user
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 16:46:34 UTC 2024 - 13.8K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.Options; import org.openjdk.jmh.runner.options.OptionsBuilder; /** * <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 {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Oct 20 07:14:01 UTC 2023 - 2.9K bytes - Viewed (0)