The main usecase for `LabelsToKeyString` is to generate hashKeys for maps. We are benchmarking that here.
(b *testing.B)
| 77 | // The main usecase for `LabelsToKeyString` is to generate hashKeys |
| 78 | // for maps. We are benchmarking that here. |
| 79 | func BenchmarkSeriesMap(b *testing.B) { |
| 80 | benchmarkSeriesMap(100000, b) |
| 81 | } |
| 82 | |
| 83 | func benchmarkSeriesMap(numSeries int, b *testing.B) { |
| 84 | series := makeSeries(numSeries) |
nothing calls this directly
no test coverage detected