MCPcopy
hub / github.com/NVIDIA/aistore / BenchmarkPutRandWithHash1MParallel

Function BenchmarkPutRandWithHash1MParallel

devtools/tutils/client_test.go:170–179  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

168}
169
170func BenchmarkPutRandWithHash1MParallel(b *testing.B) {
171 b.RunParallel(func(pb *testing.PB) {
172 for pb.Next() {
173 err := putRand(1024*1024, cos.ChecksumXXHash)
174 if err != nil {
175 b.Fatal(err)
176 }
177 }
178 })
179}
180
181func BenchmarkPutSGWithHash1MParallel(b *testing.B) {
182 b.RunParallel(func(pb *testing.PB) {

Callers

nothing calls this directly

Calls 2

putRandFunction · 0.85
NextMethod · 0.45

Tested by

no test coverage detected