reflect.Type.Size
standard libraryThe 2084th most-called standard-library method by production calls. Called 349 times across 56 modules; 291 of those run outside tests and generated code.
- prod calls
- 291
- non-test, non-generated
- all calls
- 349
- total callsites
- modules
- 56
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 17%
- 58 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 6%
- Go (golang.org/x) 7 2%
- Tailscale 7 2%
where it's called
Callsites in the wild
12 representative callsites of 349, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
alicebob/miniredis/v2 @v2.38.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-20260805052044-b67f1412986c
in loop -
pion/rtcp @v1.2.17
in loop - in loop
- in loop
- in loop
-
xlab/treeprint @v1.2.0
in loop -
modernc.org/libc @v1.74.4
rtl.go:63
in loop
top callers
The modules that reach for it
The modules that call Type.Size most in this snapshot.
- github.com/blevesearch/bleve6920%
- github.com/kubernetes/kubernetes247%
- github.com/google/gvisor206%
- github.com/alicebob/miniredis/v2134%
- github.com/ugorji/go/codec134%
siblings
More from reflect
The other most-called members in this package. See all →