testing.B.previousDuration (field)
4 uses
testing (current package)
benchmark.go#L99: previousDuration time.Duration // total duration of the previous run
benchmark.go#L195: b.previousDuration = b.duration
benchmark.go#L755: if b.previousN > 0 && b.previousDuration > 0 {
benchmark.go#L756: grain = 1e5 * uint64(b.previousN) / uint64(b.previousDuration)
![]() |
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. |