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

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

This reverts commit a1f2d0e205.
This commit is contained in:
Gábor Farkas
2023-04-12 14:45:21 +02:00
committed by GitHub
parent cca109eb77
commit d830591cdc
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,