Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for verdict (0.11 sec)

  1. src/go/doc/testdata/benchmark.go

    	defer func() {
    		b.signal <- b
    	}()
    
    	b.runN(n)
    	// Run the benchmark for at least the specified amount of time.
    	d := *benchTime
    	for !b.failed && b.duration < d && n < 1e9 {
    		last := n
    		// Predict iterations/sec.
    		if b.nsPerOp() == 0 {
    			n = 1e9
    		} else {
    			n = int(d.Nanoseconds() / b.nsPerOp())
    		}
    		// Run more iterations than we think we'll need for a second (1.5x).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
Back to top