github.com/google/go-cmp/cmp.Diff
third-partyThe 1054th most-called third-party function by production calls. Called 17,954 times across 243 modules; 666 of those run outside tests and generated code.
No change in production calls since 2026-W48.
- prod calls
- 666
- non-test, non-generated
- all calls
- 17,954
- total callsites
- modules
- 243
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 96%
- 17,288 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 154 23%
- Dgraph 91 14%
- Istio 24 4%
- gRPC 18 3%
- Tailscale 12 2%
where it's called
Callsites in the wild
12 representative callsites of 17,954, 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.10
v2/codegen/internal/codegentest/codegentest.go:99
in loop - in loop
- in loop
- in loop
-
buildpacks/imgutil @v0.0.0-20261114233731-3665d0bdb3f4
in loop - in loop
- in loop
-
dagger/dagger @v0.21.12
in loop - in loop
top callers
The modules that reach for it
The modules that call Diff most in this snapshot.
- github.com/kubernetes/kubernetes2,10012%
- k8s.io/kubernetes1,3247%
- github.com/sourcegraph/sourcegraph-public-snapshot1,0966%
- github.com/hashicorp/terraform1,0266%
- github.com/hashicorp/boundary9395%
siblings
More from github.com/google/go-cmp/cmp
The other most-called functions in this package. See all →