- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkAppendMsgPartialOperation (0.27 sec)
-
cmd/mrf_gen_test.go
} } func BenchmarkMarshalMsgPartialOperation(b *testing.B) { v := PartialOperation{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgPartialOperation(b *testing.B) { v := PartialOperation{} 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++ {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 2.4K bytes - Viewed (0)