Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for benchtime (0.08 sec)

  1. src/testing/benchmark.go

    	}()
    
    	// Run the benchmark for at least the specified amount of time.
    	if b.benchTime.n > 0 {
    		// We already ran a single iteration in run1.
    		// If -benchtime=1x was requested, use that result.
    		// See https://golang.org/issue/32051.
    		if b.benchTime.n > 1 {
    			b.runN(b.benchTime.n)
    		}
    	} else {
    		d := b.benchTime.d
    		for n := int64(1); !b.failed && b.duration < d && n < 1e9; {
    			last := n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top