testing.BenchmarkResult.N (field)
12 uses
testing (current package)
benchmark.go#L519: N int // The number of iterations.
benchmark.go#L534: if r.N <= 0 {
benchmark.go#L537: return r.T.Nanoseconds() / int64(r.N)
benchmark.go#L545: if r.Bytes <= 0 || r.T <= 0 || r.N <= 0 {
benchmark.go#L548: return (float64(r.Bytes) * float64(r.N) / 1e6) / r.T.Seconds()
benchmark.go#L557: if r.N <= 0 {
benchmark.go#L560: return int64(r.MemAllocs) / int64(r.N)
benchmark.go#L569: if r.N <= 0 {
benchmark.go#L572: return int64(r.MemBytes) / int64(r.N)
benchmark.go#L584: fmt.Fprintf(buf, "%8d", r.N)
benchmark.go#L589: ns = float64(r.T.Nanoseconds()) / float64(r.N)
benchmark.go#L861: r.N = 1
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)