MCPcopy Create free account
hub / github.com/prometheus/common / BenchmarkLabelNames

Function BenchmarkLabelNames

model/labels_test.go:51–55  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

49}
50
51func BenchmarkLabelNames(b *testing.B) {
52 for i := 0; i < b.N; i++ {
53 testLabelNames(b)
54 }
55}
56
57func testLabelValues(t testing.TB) {
58 scenarios := []struct {

Callers

nothing calls this directly

Calls 1

testLabelNamesFunction · 0.85

Tested by

no test coverage detected