- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SetParallelism (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/grid/benchmark_test.go
defer cancel() b.ReportAllocs() b.SetBytes(int64(len(payload) * 2)) b.ResetTimer() t := time.Now() var ops int64 var lat int64 b.SetParallelism(par) b.RunParallel(func(pb *testing.PB) { rng := rand.New(rand.NewSource(time.Now().UnixNano())) n := 0 var latency int64 managers := grid.Managers hosts := grid.Hosts
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.5K bytes - Click Count (0) -
internal/dsync/dsync_test.go
mu.Unlock(b.Context()) } }) } func benchmarkMutex(b *testing.B, slack, work bool) { b.ResetTimer() b.ReportAllocs() mu := NewDRWMutex(ds, "") if slack { b.SetParallelism(10) } b.RunParallel(func(pb *testing.PB) { foo := 0 for pb.Next() { mu.Lock(id, source) mu.Unlock(b.Context()) if work { for range 100 { foo *= 2 foo /= 2
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
api/go1.3.txt
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Click Count (0)