testing.B.netAllocs (field)
4 uses
testing (current package)
benchmark.go#L112: netAllocs uint64
benchmark.go#L138: b.netAllocs += memStats.Mallocs - b.startAllocs
benchmark.go#L164: b.netAllocs = 0
benchmark.go#L328: b.result = BenchmarkResult{b.N, b.duration, b.bytes, b.netAllocs, b.netBytes, b.extra}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |