testing.common.duration (field)
13 uses
testing (current package)
benchmark.go#L136: b.duration += time.Since(b.start)
benchmark.go#L163: b.duration = 0
benchmark.go#L195: b.previousDuration = b.duration
benchmark.go#L301: for n := int64(1); !b.failed && b.duration < d && n < 1e9; {
benchmark.go#L306: prevns := b.duration.Nanoseconds()
benchmark.go#L328: b.result = BenchmarkResult{b.N, b.duration, b.bytes, b.netAllocs, b.netBytes, b.extra}
testing.go#L411: duration time.Duration
testing.go#L1042: t.duration += time.Since(t.start)
testing.go#L1134: root.duration += time.Since(root.start)
testing.go#L1135: d := root.duration
testing.go#L1149: t.duration += time.Since(t.start)
testing.go#L1163: t.duration += time.Since(cleanupStart)
testing.go#L1438: dstr := fmtDuration(t.duration)
![]() |
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. |