(b *testing.B)
| 38 | } |
| 39 | |
| 40 | func Benchmark_DeltaCounterVec(b *testing.B) { |
| 41 | scope := BrokerRegistry.NewScope("vec_test") |
| 42 | vec := scope.NewCounterVec("counter", "1", "2") |
| 43 | |
| 44 | for i := 0; i < b.N; i++ { |
| 45 | vec.WithTagValues("3", "4").Incr() |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | func Benchmark_DeltaCounter(b *testing.B) { |
| 50 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected