- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for BenchmarkAppendMsgVolsInfo (0.09 seconds)
-
cmd/storage-datatypes_gen_test.go
} } func BenchmarkMarshalMsgVolsInfo(b *testing.B) { v := VolsInfo{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgVolsInfo(b *testing.B) { v := VolsInfo{} 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++ {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 73.9K bytes - Click Count (0)