[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 commita1f2d0e205. (cherry picked from commitd830591cdc) Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
This commit is contained in:
co-authored by
Gábor Farkas
parent
8f9edf19a3
commit
122a38543c
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user