testing.BenchmarkResult.N (field)
12 uses
testing (current package)
benchmark.go#L361: N int // The number of iterations.
benchmark.go#L376: if r.N <= 0 {
benchmark.go#L379: return r.T.Nanoseconds() / int64(r.N)
benchmark.go#L387: if r.Bytes <= 0 || r.T <= 0 || r.N <= 0 {
benchmark.go#L390: return (float64(r.Bytes) * float64(r.N) / 1e6) / r.T.Seconds()
benchmark.go#L399: if r.N <= 0 {
benchmark.go#L402: return int64(r.MemAllocs) / int64(r.N)
benchmark.go#L411: if r.N <= 0 {
benchmark.go#L414: return int64(r.MemBytes) / int64(r.N)
benchmark.go#L426: fmt.Fprintf(buf, "%8d", r.N)
benchmark.go#L431: ns = float64(r.T.Nanoseconds()) / float64(r.N)
benchmark.go#L690: r.N = 1
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)