- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 389 for BenchmarkZ (0.25 sec)
-
src/runtime/trace/annotation_test.go
b.ReportAllocs() ctx, task := NewTask(context.Background(), "benchmark") defer task.End() b.RunParallel(func(pb *testing.PB) { for pb.Next() { StartRegion(ctx, "region").End() } }) } func BenchmarkNewTask(b *testing.B) { b.ReportAllocs() pctx, task := NewTask(context.Background(), "benchmark") defer task.End() b.RunParallel(func(pb *testing.PB) { for pb.Next() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 721 bytes - Viewed (0) -
src/time/sleep_test.go
b.Run("impl=chan", func(b *testing.B) { benchmark(b, func(pb *testing.PB) { for pb.Next() { NewTimer(1 * Second).Stop() } }) }) b.Run("impl=func", func(b *testing.B) { benchmark(b, func(pb *testing.PB) { for pb.Next() { newTimerFunc(1 * Second).Stop() } }) }) } func BenchmarkSimultaneousAfterFunc1000(b *testing.B) { benchmark(b, func(pb *testing.PB) { for pb.Next() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
test/fixedbugs/bug369.dir/main.go
for i := 0; i < b.N; i++ { slow.NonASCII(buf, 0) } } func main() { testing.Init() os.Args = []string{os.Args[0], "-test.benchtime=100ms"} flag.Parse() rslow := testing.Benchmark(BenchmarkSlowNonASCII) rfast := testing.Benchmark(BenchmarkFastNonASCII) tslow := rslow.NsPerOp() tfast := rfast.NsPerOp() // Optimization should be good for at least 2x, but be forgiving. // On the ARM simulator we see closer to 1.5x.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 29 19:54:30 UTC 2019 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/jmh/java/org/gradle/api/internal/provider/EvaluationContextPerfTest.java
* limitations under the License. */ package org.gradle.api.internal.provider; import org.gradle.api.provider.Property; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:31 UTC 2023 - 1.6K bytes - Viewed (0) -
src/crypto/rc4/rc4_test.go
t.Fatalf("bad block") } } func benchmark(b *testing.B, size int64) { buf := make([]byte, size) c, err := NewCipher(golden[0].key) if err != nil { panic(err) } b.SetBytes(size) for i := 0; i < b.N; i++ { c.XORKeyStream(buf, buf) } } func BenchmarkRC4_128(b *testing.B) { benchmark(b, 128) } func BenchmarkRC4_1K(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 21 19:49:06 UTC 2018 - 4.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetCreationBenchmark.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.BenchmarkHelpers.SetImpl; /** * This is meant to be used with {@code --measureMemory} to measure the memory usage of various
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.8K bytes - Viewed (0) -
src/net/dnsname_test.go
} } } func BenchmarkDNSName(b *testing.B) { testHookUninstaller.Do(uninstallTestHooks) benchmarks := append(dnsNameTests, []dnsNameTest{ {strings.Repeat("a", 63), true}, {strings.Repeat("a", 64), false}, }...) for n := 0; n < b.N; n++ { for _, tc := range benchmarks { if isDomainName(tc.name) != tc.result { b.Errorf("isDomainName(%q) = %v; want %v", tc.name, !tc.result, tc.result) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
import com.google.caliper.AfterExperiment; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.primitives.Ints; import java.util.Random; import java.util.concurrent.atomic.AtomicLong; /** * Single-threaded benchmark for {@link LoadingCache}. * * @author Charles Fry */ public class LoadingCacheSingleThreadBenchmark {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import com.google.common.collect.BenchmarkHelpers.SetImpl; import com.google.common.collect.CollectionBenchmarkSampleData.Element; import java.util.Set; /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
docs/pl/docs/index.md
* bardzo proste testy bazujące na HTTPX oraz `pytest` * **CORS** * **Sesje cookie** * ...i więcej. ## Wydajność
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Apr 29 05:18:04 UTC 2024 - 19.4K bytes - Viewed (0)