- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setUp (0.13 sec)
-
cmd/benchmark-utils_test.go
import ( "bytes" "context" "math" "math/rand" "strconv" "testing" "github.com/dustin/go-humanize" ) // Benchmark utility functions for ObjectLayer.PutObject(). // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark. func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) { var err error // obtains random bucket name. bucket := getRandomBucketName() // create bucket.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 23 15:46:00 GMT 2022 - 8.2K bytes - Viewed (0)