- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkGoroutineProfile (0.2 sec)
-
src/runtime/runtime_test.go
if n2 == n1 && ok { break } t.Logf("GoroutineProfile(%d) = %d, %v, want %d, true", n1, n2, ok, n1) if i >= 10 { t.Fatalf("GoroutineProfile not converging") } } } func BenchmarkGoroutineProfile(b *testing.B) { run := func(fn func() bool) func(b *testing.B) { runOne := func(b *testing.B) { latencies := make([]time.Duration, 0, b.N) b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 11.7K bytes - Viewed (0)