- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkEncodeDiskInfoGOB (0.33 sec)
-
cmd/storage-datatypes_test.go
} b.SetBytes(1) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { err := msgp.Encode(io.Discard, &v) if err != nil { b.Fatal(err) } } } func BenchmarkEncodeDiskInfoGOB(b *testing.B) { v := DiskInfo{ Total: 1000, Free: 1000, Used: 1000, FSType: "xfs", RootDisk: true, Healing: true, Endpoint: "http://localhost:9001/tmp/drive1",
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 9.4K bytes - Viewed (0)