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
..
2023-01-13 12:30:45 +01:00
2022-12-20 12:47:49 +01:00
2023-01-13 14:03:08 -05:00
2023-01-12 15:52:32 +00:00
2022-10-04 06:32:25 -04:00
2022-12-30 13:53:42 -05:00
2022-11-03 18:34:27 +01:00
2022-11-22 15:09:15 +08:00
2022-12-01 19:08:36 +01:00
2023-01-13 09:00:39 +01:00
2022-12-19 17:17:52 +01:00
2022-12-19 17:17:52 +01:00
2022-11-02 10:03:50 -04:00
2022-11-30 17:22:47 +00:00
2023-01-10 14:16:45 +00:00
2022-12-19 17:17:52 +01:00
2023-01-18 16:42:22 +01:00
2022-12-19 17:17:52 +01:00
2022-11-02 10:03:50 -04:00
2023-01-09 10:08:58 -05:00