github.com/google/go-cmp/cmp.Diff
third-partyThe 997th most-called third-party function by production calls. Called 17,122 times across 245 modules; 658 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (653 → 658)
- prod calls
- 658
- non-test, non-generated
- all calls
- 17,122
- total callsites
- modules
- 245
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 96%
- 16,464 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 151 23%
- Dgraph 91 14%
- Istio 24 4%
- gRPC 18 3%
- Tailscale 11 2%
where it's called
Callsites in the wild
12 representative callsites of 17,122, 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.58.6
v2/codegen/internal/codegentest/codegentest.go:92
in loop - in loop
- in loop
- in loop
-
buildpacks/imgutil @v0.0.0-20260824214648-e09626c50080
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,86011%
- k8s.io/kubernetes1,3238%
- github.com/sourcegraph/sourcegraph-public-snapshot1,0966%
- github.com/hashicorp/terraform9906%
- github.com/hashicorp/boundary9395%
siblings
More from github.com/google/go-cmp/cmp
The other most-called functions in this package. See all →