reflect.Type.Size
standard libraryThe 2040th most-called standard-library method by production calls. Called 395 times across 60 modules; 311 of those run outside tests and generated code.
7% in production calls vs 2026-W39 (292 → 311)
- prod calls
- 311
- non-test, non-generated
- all calls
- 395
- total callsites
- modules
- 60
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 21%
- 84 calls
- resolved
- 1%
- 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 →
- Embedded method1%Reached through an embedded type.
- Interface method99%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into Type.Size from notable Go projects. Open one on the map to see what else it hammers.
- Cilium 17 5%
- Go (golang.org/x) 7 2%
- Tailscale 7 2%
where it's called
Callsites in the wild
12 representative callsites of 395, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
alicebob/miniredis/v2 @v2.39.0
in loop - in loop
-
bytedance/sonic/loader @v0.5.2
internal/abi/abi.go:41
in loop - in loop
-
google/gvisor @v0.0.0-20260927234935-6485c3fbdfe2
in loop - in loop
-
pion/rtcp @v1.2.18
in loop -
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop - in loop
- in loop
-
xlab/treeprint @v1.2.0
in loop
top callers
The modules that reach for it
The modules that call Type.Size most in this snapshot.
- github.com/blevesearch/bleve6917%
- github.com/kubernetes/kubernetes246%
- k8s.io/kubernetes246%
- github.com/google/gvisor205%
- github.com/goccy/go-json195%
siblings
More from reflect
The other most-called members in this package. See all →