MCPcopy
hub / github.com/jetify-com/devbox / End

Method End

internal/debug/time.go:48–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (t *timer) End() {
49 if t == nil {
50 return
51 }
52 if !headerPrinted {
53 fmt.Fprintln(os.Stderr, "\nExec times over 1ms:")
54 headerPrinted = true
55 }
56 if time.Since(t.time) >= time.Millisecond {
57 fmt.Fprintf(os.Stderr, "\"%s\" took %s\n", t.name, time.Since(t.time))
58 }
59}

Callers 15

PrintDevEnvMethod · 0.80
StorePathsAreInStoreFunction · 0.80
BuildFunction · 0.80
ProfileInstallFunction · 0.80
ProfileRemoveFunction · 0.80
ProfileListItemsFunction · 0.80
ReadmeFunction · 0.80
GetOutputsWithCacheMethod · 0.80
FillNarInfoCacheFunction · 0.80
flakeInputsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected