expvar.Map.Set
standard libraryThe 2892nd most-called standard-library method by production calls. Called 240 times across 18 modules; 213 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 213
- non-test, non-generated
- all calls
- 240
- total callsites
- modules
- 18
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 11%
- 27 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 →
- Concrete method34%A method on a value whose type is known exactly.
- Embedded method66%Reached through an embedded type.
who calls this
Notable callers
Production calls into Map.Set 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 240, prioritizing in-loop and non-test usage. We link to source, never display it.
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
tailscale.com @v1.102.5
wgengine/netstack/netstack.go:2252
in loop -
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
tailscale.com @v1.102.5
wgengine/netstack/netstack.go:2278
in loop -
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
tailscale.com @v1.102.5
wgengine/netstack/netstack.go:2321
in loop -
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
tailscale.com @v1.102.5
wgengine/netstack/netstack.go:2347
in loop - in loop test
- in loop test
- in loop test
- in loop test
top callers
The modules that reach for it
The modules that call Map.Set most in this snapshot.
- tailscale.com8937%
- github.com/sagernet/tailscale7632%
- github.com/distribution/distribution94%
- github.com/docker/distribution94%
- github.com/cilium/statedb83%
siblings
More from expvar
The other most-called members in this package. See all →