github.com/google/go-cmp/cmp.Diff
third-partyThe 993rd most-called third-party function by production calls. Called 16,923 times across 242 modules; 655 of those run outside tests and generated code.
- prod calls
- 655
- non-test, non-generated
- all calls
- 16,923
- total callsites
- modules
- 242
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 96%
- 16,268 calls
- resolved
- 100%
- 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 →
- Package function100%A direct call to an exported package function, resolved by type.
- Package function (by syntax)<1%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Diff from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 148 23%
- Dgraph 91 14%
- Istio 24 4%
- gRPC 18 3%
- Tailscale 10 2%
where it's called
Callsites in the wild
12 representative callsites of 16,923, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
encr.dev @v1.57.13
v2/codegen/internal/codegentest/codegentest.go:92
in loop - in loop
- in loop
- in loop
-
buildpacks/imgutil @v0.0.0-20260715132717-40ca3490b49e
in loop - in loop
- in loop
-
dagger/dagger @v0.21.8
in loop - in loop
top callers
The modules that reach for it
The modules that call Diff most in this snapshot.
- github.com/kubernetes/kubernetes1,83511%
- k8s.io/kubernetes1,1367%
- github.com/sourcegraph/sourcegraph-public-snapshot1,0966%
- github.com/hashicorp/boundary9396%
- github.com/tektoncd/pipeline8795%
siblings
More from github.com/google/go-cmp/cmp
The other most-called functions in this package. See all →