MCPcopy
hub / github.com/grafana/dskit / deepStack

Function deepStack

ring/ring_test.go:120–125  ·  view source on GitHub ↗

go:noinline

(depth int)

Source from the content-addressed store, hash-verified

118
119//go:noinline
120func deepStack(depth int) error {
121 if depth == 0 {
122 return nil
123 }
124 return deepStack(depth - 1)
125}
126
127func BenchmarkUpdateRingState(b *testing.B) {
128 for _, numInstances := range []int{50, 100, 500} {

Callers 1

benchmarkBatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected