testing.BenchmarkResult.N (field)
12 uses
testing (current package)
benchmark.go#L537: N int // The number of iterations.
benchmark.go#L552: if r.N <= 0 {
benchmark.go#L555: return r.T.Nanoseconds() / int64(r.N)
benchmark.go#L563: if r.Bytes <= 0 || r.T <= 0 || r.N <= 0 {
benchmark.go#L566: return (float64(r.Bytes) * float64(r.N) / 1e6) / r.T.Seconds()
benchmark.go#L575: if r.N <= 0 {
benchmark.go#L578: return int64(r.MemAllocs) / int64(r.N)
benchmark.go#L587: if r.N <= 0 {
benchmark.go#L590: return int64(r.MemBytes) / int64(r.N)
benchmark.go#L602: fmt.Fprintf(buf, "%8d", r.N)
benchmark.go#L607: ns = float64(r.T.Nanoseconds()) / float64(r.N)
benchmark.go#L881: r.N = 1
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)