Skip to content
callcount

sort.Interface.Less

standard library

The 37th most-called standard-library method by production calls. Called 448 times across 74 modules; 402 of those run outside tests and generated code.

8% in production calls vs 2026-06-sample (371 → 402)

All of sort → Docs on pkg.go.dev ↗

prod calls
402
non-test, non-generated
all calls
448
total callsites
modules
74
distinct callers
in loop
47%
of prod calls
in tests
8%
34 calls
resolved
10%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Interface method90%Called through an interface. The runtime target may differ.
  • Method value10%A method captured as a value, then called.

who calls this

Notable callers

Production calls into Interface.Less from notable Go projects. Open one on the map to see what else it hammers.

top callers

The modules that reach for it

The modules that call Interface.Less most in this snapshot.

  • k8s.io/apimachinery13831%
  • github.com/prometheus/prometheus9621%

siblings

More from sort

The other most-called members in this package. See all →