MCPcopy Create free account
hub / github.com/dispatchrun/wzprof / sortProfiles

Function sortProfiles

pprof.go:75–79  ·  view source on GitHub ↗
(entries []profileEntry)

Source from the content-addressed store, hash-verified

73}
74
75func sortProfiles(entries []profileEntry) {
76 sort.Slice(entries, func(i, j int) bool {
77 return entries[i].Name < entries[j].Name
78 })
79}
80
81// Handler returns a http handler which responds with the pprof-formatted
82// profile named by the request. For example, "/debug/pprof/heap" serves the

Callers 1

HandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected