Skip to content
callcount

reflect.Type.Size

standard library

The 2084th most-called standard-library method by production calls. Called 349 times across 56 modules; 291 of those run outside tests and generated code.

All of reflect → Docs on pkg.go.dev ↗

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.

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.

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 →