- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkAppendMsgServerSystemConfig (0.21 sec)
-
cmd/bootstrap-peer-server_gen_test.go
} func BenchmarkMarshalMsgServerSystemConfig(b *testing.B) { v := ServerSystemConfig{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgServerSystemConfig(b *testing.B) { v := ServerSystemConfig{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jan 24 21:36:44 UTC 2024 - 2.4K bytes - Viewed (0)