Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for performance (5.16 sec)

  1. src/archive/tar/tar_test.go

    			b.Run(v.label, func(b *testing.B) {
    				b.ReportAllocs()
    				for i := 0; i < b.N; i++ {
    					// Writing to io.Discard because we want to
    					// test purely the writer code and not bring in disk performance into this.
    					tw := NewWriter(io.Discard)
    					for _, file := range v.files {
    						if err := tw.WriteHeader(file.hdr); err != nil {
    							b.Errorf("unexpected WriteHeader error: %v", err)
    						}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. cmd/notification.go

    		} else {
    			results[len(results)-1] = r
    		}
    		results[len(results)-1].Endpoint = u.String()
    	}()
    	wg.Wait()
    
    	return results
    }
    
    // DriveSpeedTest - Drive performance information
    func (sys *NotificationSys) DriveSpeedTest(ctx context.Context, opts madmin.DriveSpeedTestOpts) chan madmin.DriveSpeedTestResult {
    	ch := make(chan madmin.DriveSpeedTestResult)
    	var wg sync.WaitGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/utils.go

    			return ioutilx.ReadFile(fn)
    		}
    	case madmin.ProfilerCPUIO:
    		// at 10k or more goroutines fgprof is likely to become
    		// unable to maintain its sampling rate and to significantly
    		// degrade the performance of your application
    		// https://github.com/felixge/fgprof#fgprof
    		if n := runtime.NumGoroutine(); n > 10000 && !globalIsCICD {
    			return nil, fmt.Errorf("unable to perform CPU IO profile with %d goroutines", n)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top