Skip to content
callcount

map

See what your dependencies call most

Every dot is a function, placed by how often it’s called in production and how much of that runs inside a loop. Put on a project lens, say Kubernetes, and the map redraws to what that codebase calls, with its own loop shares. Search, filter, click through to any function.

Project lens
X-axis
Package
Origin
View
0%25%50%75%100%10k100kproduction calls (log scale)share of calls in a loopUnmarshalErrorfSprintfHasPrefixFprintfBuilder.WriteStringTrimSpacePrintfContext.Done
coolhot in-loop prod callsringed = hottest320 functions across the corpus

Drag a box on the chart to zoom; double-click to reset. Or use the zoom controls. Volume = production calls.

Show the 320 plotted functions as a list
  1. fmt.Errorf355,933 · 15%
  2. github.com/Azure/go-autorest/autorest.NewErrorWithError215,125 · 0%
  3. fmt.Sprintf197,757 · 19%
  4. github.com/Azure/go-autorest/autorest.Encode193,077 · 0%
  5. encoding/json.Unmarshal170,666 · 51%
  6. errors.New93,638 · 5%
  7. github.com/Azure/go-autorest/tracing.StartSpan84,867 · 0%
  8. github.com/Azure/go-autorest/tracing.EndSpan84,867 · 0%
  9. github.com/Azure/go-autorest/tracing.IsEnabled84,866 · 0%
  10. strings.Join78,972 · 5%
  11. context.Background72,558 · 4%
  12. encoding/json.Marshal68,556 · 2%
  13. net/http.Request.WithContext67,076 · 0%
  14. github.com/Azure/go-autorest/autorest.WithBaseURL62,503 · 0%
  15. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils.Marshal59,182 · 0%
  16. github.com/Azure/go-autorest/autorest.Respond56,668 · 0%
  17. github.com/Azure/go-autorest/autorest.CreatePreparer56,667 · 0%
  18. github.com/Azure/go-autorest/autorest/azure.WithErrorUnlessStatusCode56,663 · 0%
  19. github.com/Azure/go-autorest/autorest.ByClosing56,497 · 0%
  20. github.com/Azure/go-autorest/autorest.WithQueryParameters55,964 · 0%
  21. github.com/Azure/go-autorest/autorest.WithPathParameters54,747 · 0%
  22. github.com/alibabacloud-go/tea/dara.String52,779 · 0%
  23. github.com/Azure/go-autorest/autorest/azure.DoRetryWithRegistration50,090 · 0%
  24. sync.Mutex.Unlock48,293 · 8%
  25. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.FieldDef.WithLocationType45,563 · 0%
  26. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.FieldDef.WithName45,563 · 0%
  27. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.NewFieldDef45,563 · 0%
  28. sync.Mutex.Lock45,415 · 8%
  29. github.com/Azure/go-autorest/autorest.ByUnmarshallingJSON44,775 · 0%
  30. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.HttpRequestDefBuilder.WithRequestField43,783 · 0%
  31. fmt.Fprintf39,308 · 26%
  32. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.FieldDef.WithJsonTag38,426 · 0%
  33. time.Now37,264 · 11%
  34. github.com/therecipe/qt/internal.CallLocalFunction35,572 · 0%
  35. github.com/Azure/go-autorest/autorest.AsGet35,031 · 0%
  36. github.com/aliyun/alibaba-cloud-sdk-go/sdk.Client.AddAsyncTask33,306 · 0%
  37. strings.Builder.WriteString32,133 · 30%
  38. path/filepath.Join31,748 · 21%
  39. fmt.Printf31,605 · 24%
  40. strings.TrimSpace31,303 · 29%
  41. strings.HasPrefix27,615 · 43%
  42. github.com/Azure/go-autorest/autorest/validation.Validate26,838 · 0%
  43. github.com/Azure/go-autorest/autorest/validation.NewError26,834 · 0%
  44. github.com/alibabacloud-go/tea/dara.IsNil26,739 · 0%
  45. fmt.Println23,371 · 14%
  46. strings.Contains22,919 · 27%
  47. github.com/IBM/go-sdk-core/v5/core.SDKErrorf22,694 · 0%
  48. sync.RWMutex.Unlock22,113 · 5%
  49. sync.RWMutex.Lock20,540 · 5%
  50. strings.Split19,790 · 24%
  51. io.Closer.Close19,146 · 8%
  52. log.Printf19,120 · 21%
  53. github.com/DataDog/datadog-api-client-go/v2/api/datadog.Unmarshal18,554 · 0%
  54. strconv.AppendInt18,154 · 1%
  55. sync.RWMutex.RUnlock18,074 · 5%
  56. strings.ToLower18,039 · 28%
  57. net/http.Header.Set17,571 · 5%
  58. reflect.ValueOf17,234 · 12%
  59. sync.RWMutex.RLock16,958 · 4%
  60. github.com/aliyun/alibaba-cloud-sdk-go/sdk.Client.DoAction16,654 · 0%
  61. github.com/Azure/go-autorest/autorest.AsContentType16,388 · 0%
  62. errors.Is16,334 · 24%
  63. github.com/Azure/go-autorest/autorest.WithJSON16,307 · 0%
  64. net/http.Header.Get15,584 · 3%
  65. os.Getenv15,489 · 2%
  66. github.com/Azure/go-autorest/autorest.DoRetryForStatusCodes15,451 · 0%
  67. github.com/Azure/go-autorest/autorest/azure.NewAsyncOpIncompleteError15,306 · 0%
  68. github.com/Azure/go-autorest/autorest/azure.NewFutureFromResponse15,244 · 0%
  69. github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests.RpcRequest.InitWithApiInfo15,176 · 0%
  70. github.com/onsi/ginkgo/v2.By15,123 · 5%
  71. strconv.Itoa15,053 · 21%
  72. github.com/pkg/errors.Wrap14,695 · 12%
  73. github.com/huaweicloud/huaweicloud-sdk-go-v3/core.HcHttpClient.Sync14,683 · 0%
  74. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/invoker.BaseInvoker.Invoke14,642 · 0%
  75. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/invoker.NewBaseInvoker14,642 · 0%
  76. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.HttpRequestDefBuilder.Build14,642 · 0%
  77. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.HttpRequestDefBuilder.WithContentType14,642 · 0%
  78. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.HttpRequestDefBuilder.WithMethod14,642 · 0%
  79. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.HttpRequestDefBuilder.WithPath14,642 · 0%
  80. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.HttpRequestDefBuilder.WithResponse14,642 · 0%
  81. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/def.NewHttpRequestDefBuilder14,642 · 0%
  82. github.com/pkg/errors.Wrapf14,448 · 21%
  83. github.com/onsi/gomega.Expect14,422 · 8%
  84. context.Context.Done13,871 · 49%
  85. github.com/DataDog/datadog-api-client-go/v2/api/datadog.Marshal13,761 · 0%
  86. time.Since13,639 · 14%
  87. bytes.Buffer.WriteString13,260 · 37%
  88. github.com/pkg/errors.Errorf12,747 · 19%
  89. regexp.MustCompile12,297 · 3%
  90. github.com/alibabacloud-go/tea/dara.Prettify12,195 · 0%
  91. os.File.Close12,128 · 9%
  92. github.com/stretchr/testify/require.NoError11,875 · 11%
  93. github.com/IBM/go-sdk-core/v5/core.UnmarshalPrimitive11,871 · 0%
  94. io.Writer.Write11,432 · 18%
  95. strings.Trim11,420 · 8%
  96. github.com/IBM/vpc-go-sdk/common.GetComponentInfo11,282 · 0%
  97. fmt.Sprint11,076 · 7%
  98. github.com/Azure/go-autorest/autorest.AsPost10,834 · 0%
  99. k8s.io/kubernetes/test/e2e/framework.ExpectNoError10,554 · 7%
  100. github.com/go-logr/logr.Logger.Info10,437 · 18%
  101. context.TODO10,289 · 17%
  102. context.Context.Err10,105 · 40%
  103. strconv.Atoi9,832 · 24%
  104. os.Stat9,826 · 19%
  105. time.Time.Year9,821 · 1%
  106. net/http.Request.Context9,619 · 4%
  107. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json.Unmarshal9,219 · 0%
  108. strings.Builder.String9,218 · 8%
  109. strings.HasSuffix9,208 · 33%
  110. net/url.Values.Add9,080 · 18%
  111. reflect.Value.Elem9,035 · 18%
  112. time.Time.Add9,024 · 15%
  113. reflect.TypeOf8,968 · 10%
  114. context.WithTimeout8,881 · 7%
  115. net/url.Values.Set8,874 · 19%
  116. github.com/Azure/go-autorest/autorest.DecorateSender8,816 · 0%
  117. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/converter.StringConverterFactory8,772 · 0%
  118. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/converter.Converter.CovertStringToInterface8,771 · 0%
  119. fmt.Fprintln8,722 · 19%
  120. strings.TrimPrefix8,568 · 33%
  121. github.com/onsi/gomega/types.Assertion.To8,451 · 11%
  122. os.Exit8,391 · 6%
  123. reflect.Value.Type8,256 · 21%
  124. github.com/Azure/go-autorest/autorest/to.String8,053 · 0%
  125. github.com/Azure/go-autorest/autorest.Prepare8,051 · 0%
  126. github.com/Azure/go-autorest/autorest.AsJSON8,040 · 0%
  127. github.com/pkg/errors.New7,842 · 7%
  128. os.ReadFile7,839 · 12%
  129. github.com/aws/aws-sdk-go/aws.String7,804 · 14%
  130. github.com/IBM/go-sdk-core/v5/core.StringPtr7,803 · 0%
  131. net/http.Error7,626 · 3%
  132. github.com/Azure/go-autorest/autorest.AsPut7,583 · 0%
  133. path.Join7,574 · 18%
  134. reflect.Value.Kind7,435 · 20%
  135. time.Sleep7,419 · 63%
  136. reflect.Value.Interface7,395 · 41%
  137. io.ReadAll7,370 · 6%
  138. bytes.Buffer.Bytes7,345 · 10%
  139. reflect.Value.Set7,321 · 17%
  140. net/http.ResponseWriter.Header7,184 · 4%
  141. strings.ReplaceAll7,167 · 23%
  142. time.Time.Format7,158 · 13%
  143. github.com/IBM/platform-services-go-sdk/common.GetComponentInfo7,021 · 0%
  144. bytes.Buffer.String6,988 · 9%
  145. github.com/Azure/go-autorest/autorest.AsDelete6,959 · 0%
  146. bytes.NewReader6,931 · 8%
  147. os.IsNotExist6,649 · 16%
  148. os/exec.Command6,559 · 8%
  149. github.com/alibabacloud-go/tea/dara.Validate6,500 · 0%
  150. net/url.Parse6,406 · 9%
  151. github.com/go-logr/logr.Logger.V6,397 · 22%
  152. net/url.URL.String6,376 · 9%
  153. github.com/go-kit/log.Logger.Log6,309 · 29%
  154. time.Time.Minute6,224 · 1%
  155. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json.Marshal6,144 · 0%
  156. time.Time.Hour6,085 · 1%
  157. sync.WaitGroup.Done6,084 · 42%
  158. net/url.URL.Query6,073 · 1%
  159. github.com/IBM/go-sdk-core/v5/core.UnmarshalModel6,039 · 0%
  160. reflect.Type.Kind5,991 · 20%
  161. github.com/containerd/log.G5,974 · 23%
  162. sort.Strings5,885 · 11%
  163. github.com/DataDog/datadog-api-client-go/v2/api/datadog.UnmarshalUseNumber5,840 · 0%
  164. github.com/DataDog/datadog-api-client-go/v2/api/datadog.DeleteKeys5,837 · 0%
  165. math.Abs5,836 · 15%
  166. github.com/okta/okta-sdk-golang/v5/okta.newAPIResponse5,828 · 0%
  167. net/http.ResponseWriter.WriteHeader5,728 · 2%
  168. github.com/alibabacloud-go/tea/dara.Convert5,710 · 0%
  169. strconv.FormatInt5,690 · 30%
  170. sync.WaitGroup.Add5,661 · 38%
  171. github.com/Azure/go-autorest/autorest.DecoratePreparer5,652 · 0%
  172. sync.WaitGroup.Wait5,649 · 5%
  173. time.Time.UTC5,629 · 10%
  174. strings.TrimSuffix5,626 · 26%
  175. strings.Replace5,625 · 22%
  176. github.com/alibabacloud-go/tea/dara.BoolValue5,565 · 0%
  177. github.com/alibabacloud-go/darabonba-openapi/v2/utils.Query5,560 · 0%
  178. github.com/onsi/gomega.HaveOccurred5,557 · 7%
  179. github.com/Azure/go-autorest/autorest.WithHeader5,549 · 0%
  180. regexp.Regexp.MatchString5,537 · 30%
  181. github.com/onsi/gomega/types.Assertion.ToNot5,486 · 6%
  182. k8s.io/klog/v2.V5,485 · 22%
  183. github.com/go-logr/logr.Logger.Error5,465 · 15%
  184. go.opentelemetry.io/otel/attribute.Key.String5,417 · 0%
  185. net/http.Header.Add5,301 · 57%
  186. github.com/Azure/go-autorest/autorest.String5,277 · 0%
  187. net/url.Values.Get5,270 · 3%
  188. os.Open5,233 · 9%
  189. strconv.ParseInt5,222 · 22%
  190. log.Fatal5,210 · 7%
  191. testing.common.Fatalf5,176 · 23%
  192. path/filepath.Dir5,129 · 19%
  193. time.Time.Unix5,081 · 12%
  194. time.Duration.Seconds5,078 · 15%
  195. reflect.Type.Elem5,046 · 22%
  196. encoding/json.Decoder.Decode4,987 · 10%
  197. github.com/therecipe/qt/internal.CallLocalAndDeregisterRemoteFunction4,981 · 0%
  198. github.com/stretchr/testify/require.Assertions.NoError4,975 · 5%
  199. os.MkdirAll4,974 · 10%
  200. github.com/therecipe/qt/internal.CallLocalAndRegisterRemoteFunction4,973 · 0%
  201. strings.EqualFold4,955 · 46%
  202. time.Time.IsZero4,948 · 20%
  203. net/http.Client.Do4,893 · 8%
  204. context.WithCancel4,804 · 4%
  205. encoding/json.NewDecoder4,771 · 3%
  206. log.Fatalf4,771 · 14%
  207. strconv.ParseUint4,746 · 34%
  208. io.Copy4,737 · 11%
  209. time.Time.Second4,732 · 1%
  210. strconv.FormatFloat4,731 · 14%
  211. errors.As4,663 · 11%
  212. os.Remove4,660 · 17%
  213. sync.Once.Do4,628 · 3%
  214. sort.Slice4,613 · 9%
  215. github.com/jesseduffield/lazygit/pkg/integration/components.Contains4,588 · 0%
  216. time.Time.Month4,582 · 1%
  217. github.com/stretchr/testify/require.Assertions.Equal4,535 · 6%
  218. slices.Contains4,511 · 36%
  219. time.Time.UnixNano4,485 · 11%
  220. bytes.NewBuffer4,466 · 5%
  221. path/filepath.Base4,465 · 24%
  222. io/fs.DirEntry.Name4,408 · 91%
  223. time.Unix4,378 · 19%
  224. github.com/jdcloud-api/jdcloud-sdk-go/core.Logger.Log4,338 · 0%
  225. golang.org/x/xerrors.Errorf4,337 · 19%
  226. github.com/jdcloud-api/jdcloud-sdk-go/core.JDCloudClient.Send4,325 · 0%
  227. context.Context.Value4,309 · 1%
  228. fmt.Fprint4,230 · 24%
  229. github.com/juju/errors.Trace4,225 · 21%
  230. k8s.io/klog/v2.Verbose.Infof4,219 · 24%
  231. net/url.Values.Encode4,190 · 2%
  232. github.com/onsi/ginkgo/v2.It4,174 · 2%
  233. testing.common.Errorf4,149 · 32%
  234. log.Println4,143 · 18%
  235. testing.common.Helper4,133 · 0%
  236. net/http.NewRequestWithContext4,127 · 5%
  237. time.Time.Day4,126 · 1%
  238. strings.Index4,103 · 32%
  239. k8s.io/kubernetes/test/e2e/framework.Logf4,099 · 25%
  240. testing.T.Run4,097 · 17%
  241. os.WriteFile4,090 · 11%
  242. bytes.Equal4,084 · 33%
  243. encoding/json.MarshalIndent4,083 · 4%
  244. bytes.Buffer.WriteByte4,080 · 44%
  245. strconv.FormatBool4,070 · 12%
  246. strings.SplitN3,999 · 41%
  247. github.com/markusmobius/go-dateparser/internal/regexp.MustCompile3,990 · 0%
  248. io/fs.FileInfo.IsDir3,987 · 24%
  249. errors.Join3,953 · 24%
  250. k8s.io/apimachinery/pkg/api/errors.IsNotFound3,880 · 16%
  251. github.com/Azure/go-autorest/autorest.AsPatch3,852 · 0%
  252. strings.ToUpper3,812 · 28%
  253. time.Time.Sub3,804 · 28%
  254. google.golang.org/grpc/status.Errorf3,801 · 10%
  255. github.com/stretchr/testify/assert.Equal3,784 · 11%
  256. github.com/sirupsen/logrus.Debugf3,754 · 33%
  257. log/slog.Logger.Debug3,726 · 25%
  258. github.com/openai/openai-go/v3/internal/apijson.UnmarshalRoot3,659 · 0%
  259. io/ioutil.ReadAll3,652 · 2%
  260. github.com/hashicorp/boundary/internal/errors.New3,611 · 5%
  261. flag.String3,568 · 0%
  262. github.com/hashicorp/terraform/internal/tfdiags.Diagnostics.Append3,566 · 18%
  263. github.com/IBM/networking-go-sdk/common.GetComponentInfo3,563 · 0%
  264. reflect.Value.Len3,561 · 14%
  265. github.com/onsi/gomega.Equal3,558 · 10%
  266. time.After3,549 · 43%
  267. bytes.Buffer.Write3,534 · 32%
  268. time.Time.Before3,498 · 26%
  269. google.golang.org/protobuf/compiler/protogen.GeneratedFile.P3,475 · 17%
  270. github.com/therecipe/qt/core.QObject.QObject_PTR3,467 · 0%
  271. github.com/pkg/errors.WithStack3,451 · 14%
  272. time.Time.After3,434 · 35%
  273. time.NewTicker3,415 · 2%
  274. k8s.io/apimachinery/pkg/util/validation/field.Invalid3,403 · 32%
  275. github.com/rs/zerolog.Event.Msg3,399 · 18%
  276. github.com/DataDog/datadog-api-client-go/v2/api/datadog.APIClient.Decode3,375 · 0%
  277. encoding/json.Encoder.Encode3,358 · 5%
  278. encoding/binary.Write3,356 · 9%
  279. k8s.io/kubernetes/test/e2e/framework.Failf3,355 · 13%
  280. github.com/seaweedfs/seaweedfs/weed/glog.V3,343 · 22%
  281. gitea.dev/modules/log.Error3,342 · 16%
  282. k8s.io/klog/v2.KObj3,318 · 26%
  283. encoding/binary.Read3,311 · 12%
  284. github.com/hashicorp/boundary/internal/errors.Wrap3,309 · 12%
  285. encoding/base64.Encoding.EncodeToString3,269 · 9%
  286. encoding/json.NewEncoder3,238 · 2%
  287. net.Conn.Close3,216 · 16%
  288. strconv.ParseFloat3,200 · 24%
  289. os.File.Name3,167 · 9%
  290. github.com/gravitational/trace.Wrap3,156 · 9%
  291. hash.Hash.Sum3,146 · 6%
  292. github.com/onsi/gomega.Succeed3,143 · 8%
  293. net/url.PathEscape3,136 · 5%
  294. strconv.FormatUint3,131 · 46%
  295. time.Ticker.Stop3,131 · 11%
  296. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors.NewTencentCloudSDKError3,115 · 0%
  297. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common.Client.Send3,110 · 0%
  298. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common.Client.GetCredential3,107 · 0%
  299. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common.Client.InitBaseRequest3,107 · 0%
  300. log/slog.String3,082 · 21%
  301. reflect.Value.IsNil3,073 · 24%
  302. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http.BaseRequest.Init3,071 · 0%
  303. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http.BaseRequest.WithApiInfo3,071 · 0%
  304. github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http.BaseRequest.SetContext3,069 · 0%
  305. github.com/seaweedfs/seaweedfs/weed/glog.Verbose.Infof3,032 · 22%
  306. strings.Builder.WriteByte3,026 · 59%
  307. os.RemoveAll3,006 · 13%
  308. go.uber.org/zap.String2,989 · 24%
  309. github.com/huaweicloud/huaweicloud-sdk-go-v3/core/region.NewRegion2,963 · 0%
  310. github.com/alibabacloud-go/darabonba-openapi/v2/client.Client.CallApi2,953 · 0%
  311. github.com/larksuite/cli/shortcuts/common.RuntimeContext.Str2,950 · 1%
  312. flag.FlagSet.StringVar2,935 · 0%
  313. encoding/binary.bigEndian.Uint322,924 · 21%
  314. k8s.io/kops/upup/pkg/fi.ValueOf2,922 · 17%
  315. encoding/hex.EncodeToString2,919 · 11%
  316. net/http.ResponseWriter.Write2,910 · 5%
  317. regexp.Regexp.FindStringSubmatch2,907 · 26%
  318. context.WithValue2,902 · 3%
  319. k8s.io/klog/v2.Infof2,862 · 19%
  320. os/exec.Cmd.Run2,849 · 9%

Colour is heat, how many of a function’s production calls land inside loops. The ringed, labelled functions run both hot and often, which is where a profiler is most likely to agree. Static counts aren’t runtime cost. Snapshot 2026-W32.