- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkAppendMsgBatchJobPrefix (0.3 sec)
-
cmd/batch-handlers_gen_test.go
} } func BenchmarkMarshalMsgBatchJobPrefix(b *testing.B) { v := BatchJobPrefix{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBatchJobPrefix(b *testing.B) { v := BatchJobPrefix{} 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: Thu Aug 01 12:53:30 UTC 2024 - 6.7K bytes - Viewed (0)