MCPcopy
hub / github.com/uber-go/zap / BenchmarkTake

Function BenchmarkTake

internal/stacktrace/stack_test.go:89–93  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

87}
88
89func BenchmarkTake(b *testing.B) {
90 for i := 0; i < b.N; i++ {
91 Take(0)
92 }
93}
94
95func withStackDepth(depth int, f func()) {
96 var recurse func(rune) rune

Callers

nothing calls this directly

Calls 1

TakeFunction · 0.85

Tested by

no test coverage detected