Christian Simon
a1f2d0e205
Prometheus: Reduce allocations parsing exemplars (#58959)
* Prometheus: Reduce allocations parsing exemplars
This reduces allocations for parsing exemplars.
name old time/op new time/op delta
ExemplarJson-8 24.7ms ±15% 17.6ms ± 2% -28.72% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
ExemplarJson-8 4.70MB ± 0% 3.58MB ± 0% -23.79% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
ExemplarJson-8 72.6k ± 0% 69.1k ± 0% -4.81% (p=0.008 n=5+5)
* Ensure pairs is reset
2023-01-18 16:42:22 +01:00
..
2022-11-22 11:53:43 -05:00
2022-09-12 12:03:49 +02:00
2023-01-18 16:42:22 +01:00
2022-11-07 16:14:41 +01:00
2022-02-03 17:06:31 +01:00
2022-12-15 15:28:25 +01:00
2022-09-26 12:35:33 -05:00
2023-01-11 08:08:28 +00:00
2022-08-24 10:24:41 -04:00
2022-08-24 10:24:41 -04:00
2022-05-02 13:08:20 +02:00
2022-03-04 04:58:27 -05:00
2022-08-11 07:21:12 -04:00
2022-06-06 22:30:31 +02:00
2022-11-03 14:21:41 +01:00
2022-11-03 14:21:41 +01:00
2023-01-16 16:03:20 +03:00
2023-01-16 16:03:20 +03:00