[v9.5.x] Revert "Prometheus: Reduce allocations parsing exemplars" (#66374)

Revert "Prometheus: Reduce allocations parsing exemplars" (#66367)

Revert "Prometheus: Reduce allocations parsing exemplars (#58959)"

This reverts commit a1f2d0e205.

(cherry picked from commit d830591cdc)

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2023-04-12 15:28:12 +02:00
committed by GitHub
co-authored by Gábor Farkas
parent 8f9edf19a3
commit 122a38543c
2 changed files with 3 additions and 5 deletions
@@ -41,7 +41,6 @@ func BenchmarkExemplarJson(b *testing.B) {
tCtx, err := setup(true)
require.NoError(b, err)
b.ResetTimer()
b.ReportAllocs()
for n := 0; n < b.N; n++ {
res := http.Response{
StatusCode: 200,