MCPcopy
hub / github.com/prometheus/client_golang / BenchmarkMetricVecWithBasic

Function BenchmarkMetricVecWithBasic

prometheus/vec_test.go:908–913  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

906}
907
908func BenchmarkMetricVecWithBasic(b *testing.B) {
909 benchmarkMetricVecWith(b, Labels{
910 "l1": "onevalue",
911 "l2": "twovalue",
912 })
913}
914
915func BenchmarkMetricVecWithLabelValuesBasic(b *testing.B) {
916 benchmarkMetricVecWithLabelValues(b, map[string][]string{

Callers

nothing calls this directly

Calls 1

benchmarkMetricVecWithFunction · 0.85

Tested by

no test coverage detected