- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkUnmarshalPartialOperation (0.21 sec)
-
cmd/mrf_gen_test.go
bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } } func BenchmarkUnmarshalPartialOperation(b *testing.B) { v := PartialOperation{} bts, _ := v.MarshalMsg(nil) b.ReportAllocs() b.SetBytes(int64(len(bts))) b.ResetTimer() for i := 0; i < b.N; i++ { _, err := v.UnmarshalMsg(bts)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 2.4K bytes - Viewed (0)