MCPcopy Create free account
hub / github.com/brimdata/super / Duration

Method Duration

api/client/request.go:145–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143}
144
145func (r *Request) Duration() time.Duration {
146 if r.gotConnInfo.Reused {
147 return r.firstByteTime.Sub(r.getConnTime)
148 }
149 return r.firstByteTime.Sub(r.dnsStartTime)
150}

Callers 12

accessLogMiddlewareFunction · 0.80
serveMethod · 0.80
StringMethod · 0.80
PrettyMethod · 0.80
lookupPrimitiveTypeMethod · 0.80
NewFunction · 0.80
DoMethod · 0.80
PollDeviceCodeTokensMethod · 0.80
getDeviceCodeTokensMethod · 0.80
RefreshTokenMethod · 0.80
readIDFunction · 0.80
buildArrowValueMethod · 0.80

Calls 1

SubMethod · 0.80

Tested by

no test coverage detected