Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for selfSpeedTest (0.08 sec)

  1. cmd/perf-tests.go

    		return f.r.Read(p)
    	}
    	// Read a single byte.
    	n, err = f.r.Read(p[:1])
    	if n > 0 {
    		t := time.Now()
    		f.t = &t
    	}
    	return n, err
    }
    
    // Runs the speedtest on local MinIO process.
    func selfSpeedTest(ctx context.Context, opts speedTestOpts) (res SpeedTestResult, err error) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return SpeedTestResult{}, errServerNotInitialized
    	}
    
    	var wg sync.WaitGroup
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/notification.go

    			} else {
    				results[index] = r
    			}
    			results[index].Endpoint = u.String()
    		}(index)
    	}
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		r, err := selfSpeedTest(ctx, sopts)
    		u := &url.URL{
    			Scheme: scheme,
    			Host:   globalLocalNodeName,
    		}
    		if err != nil {
    			results[len(results)-1].Error = err.Error()
    		} else {
    			results[len(results)-1] = r
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    		concurrent = 32
    	}
    
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = time.Second * 10
    	}
    
    	done := keepHTTPResponseAlive(w)
    
    	result, err := selfSpeedTest(r.Context(), speedTestOpts{
    		objectSize:      size,
    		concurrency:     concurrent,
    		duration:        duration,
    		storageClass:    storageClass,
    		bucketName:      bucketName,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top