Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runPutObjectBenchmark (0.22 sec)

  1. cmd/benchmark-utils_test.go

    	"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.
    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
Back to top