- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkAppendMsgrebalanceInfo (0.22 sec)
-
cmd/erasure-server-pool-rebalance_gen_test.go
} } func BenchmarkMarshalMsgrebalanceInfo(b *testing.B) { v := rebalanceInfo{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgrebalanceInfo(b *testing.B) { v := rebalanceInfo{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 11K bytes - Viewed (0)