- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkDecodeActiveWorkerStat (0.27 sec)
-
cmd/bucket-replication-metrics_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 BenchmarkDecodeActiveWorkerStat(b *testing.B) { v := ActiveWorkerStat{} 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: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0)