MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / endSummary

Method endSummary

dgraph/cmd/bulk/progress.go:124–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124func (p *progress) endSummary() {
125 p.shutdown <- struct{}{}
126 <-p.shutdown
127
128 p.reportOnce()
129
130 total := x.FixedDuration(time.Since(p.start))
131 fmt.Printf("Total: %v\n", total)
132}
133
134var suffixes = [...]string{"", "k", "M", "G", "T"}
135

Callers 2

cleanupMethod · 0.80
RunBulkLoaderFunction · 0.80

Calls 2

reportOnceMethod · 0.95
FixedDurationFunction · 0.92

Tested by

no test coverage detected