Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 10MB (0.05 sec)

  1. cmd/object-api-putobject_test.go

    }
    
    // BenchmarkPutObject10MbFS - Benchmark FS.PutObject() for object size of 10MB.
    func BenchmarkPutObject10MbFS(b *testing.B) {
    	benchmarkPutObject(b, "FS", 10*humanize.MiByte)
    }
    
    // BenchmarkPutObject10MbErasure - Benchmark Erasure.PutObject() for object size of 10MB.
    func BenchmarkPutObject10MbErasure(b *testing.B) {
    	benchmarkPutObject(b, "Erasure", 10*humanize.MiByte)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. internal/config/crypto_test.go

    		}
    	}
    	b.Run("1KB", func(b *testing.B) { benchmarkEncrypt(1*1024, b) })
    	b.Run("512KB", func(b *testing.B) { benchmarkEncrypt(512*1024, b) })
    	b.Run("1MB", func(b *testing.B) { benchmarkEncrypt(1024*1024, b) })
    	b.Run("10MB", func(b *testing.B) { benchmarkEncrypt(10*1024*1024, b) })
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. internal/http/response-recorder.go

    	lrw.bytesWritten += n
    	if lrw.ttfbBody == 0 {
    		lrw.ttfbBody = time.Now().UTC().Sub(lrw.StartTime)
    	}
    
    	if (lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody {
    		// If body is > 10MB, drop it.
    		if lrw.bytesWritten+len(p) > 10<<20 {
    			lrw.LogAllBody = false
    			lrw.body = bytes.Buffer{}
    		} else {
    			// Always logging error responses.
    			lrw.body.Write(p)
    		}
    	}
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    }
    
    // BenchmarkPutObjectPart10MbFS - Benchmark FS.PutObjectPart() for object size of 10MB.
    func BenchmarkPutObjectPart10MbFS(b *testing.B) {
    	benchmarkPutObjectPart(b, "FS", 10*humanize.MiByte)
    }
    
    // BenchmarkPutObjectPart10MbErasure - Benchmark Erasure.PutObjectPart() for object size of 10MB.
    func BenchmarkPutObjectPart10MbErasure(b *testing.B) {
    	benchmarkPutObjectPart(b, "Erasure", 10*humanize.MiByte)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	for i := 0; i < 10*1024; i++ {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    
    	putContent := buffer.String()
    	buf := bytes.NewReader([]byte(putContent))
    
    	objectName := "test-big-10Mb-file"
    	// HTTP request to upload the object.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buf.Len()), buf, s.accessKey, s.secretKey, s.signer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top