- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkPoolStarvation (0.46 sec)
-
src/sync/pool_test.go
p.Put(1) } for b := 0; b < 100; b++ { p.Get() } } }) } // Simulate object starvation in order to force Ps to steal objects // from other Ps. func BenchmarkPoolStarvation(b *testing.B) { var p Pool count := 100 // Reduce number of putted objects by 33 %. It creates objects starvation // that force P-local storage to steal objects from other Ps.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0)