- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkAppendMsgPartialOperation (0.41 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 Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 2.4K bytes - Viewed (0)