- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkDecodeBucketBandwidthReport (0.34 sec)
-
internal/bucket/bandwidth/monitor_gen_test.go
b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBucketBandwidthReport(b *testing.B) { v := BucketBandwidthReport{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) rd := msgp.NewEndlessReader(buf.Bytes(), b) dc := msgp.NewReader(rd)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.5K bytes - Viewed (0)