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
2020-10-28 08:36:57 +00: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
2021-10-29 14:20:07 +03:00
2021-11-04 18:47:21 +02:00
2022-01-11 17:37:58 +01:00
2022-08-11 07:21:12 -04:00
2020-11-25 07:55:22 +01:00
2022-06-06 22:30:31 +02:00
2019-01-28 22:09:40 +01:00
2020-11-05 11:00:00 +01:00
2018-09-21 13:41:03 +02:00
2019-01-28 22:09:40 +01:00
2022-11-03 14:21:41 +01:00
2022-11-03 14:21:41 +01:00
2021-09-10 11:22:13 +02:00
2021-09-10 11:22:13 +02:00
2020-10-02 08:42:10 +02:00
2019-08-26 17:19:03 +02:00
2023-01-16 16:03:20 +03:00
2023-01-16 16:03:20 +03:00
2020-08-13 11:10:48 +02:00
2019-10-07 14:18:14 +02:00
2020-08-13 11:10:48 +02:00
2019-01-28 22:09:40 +01:00