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-18 16:01:25 +01:00
2022-12-21 19:27:49 +00:00
2022-12-15 12:58:48 +01:00
2023-01-12 17:13:47 +08:00
2023-01-17 11:58:08 +01:00
2022-11-22 15:09:15 +08:00
2022-11-15 14:48:31 +01:00
2022-08-01 19:28:38 -04:00
2023-01-09 17:01:19 +00:00
2022-06-30 10:55:33 -08:00
2022-12-29 12:48:27 +01:00
2022-09-12 12:03:49 +02:00
2023-01-18 16:07:36 +01:00
2023-01-06 12:37:32 -05:00
2023-01-06 12:37:32 -05:00
2023-01-16 13:16:01 +01:00
2023-01-16 10:50:34 +01:00
2021-02-03 20:47:45 +01:00
2023-01-18 14:29:23 +01:00
2023-01-17 11:58:08 +01:00
2023-01-06 04:57:45 -05:00
2023-01-18 16:01:25 +01:00
2023-01-18 16:01:47 +01:00
2023-01-18 13:59:50 +01:00
2023-01-18 13:52:41 +01:00
2023-01-18 16:42:22 +01:00
2023-01-18 16:42:22 +01:00
2023-01-04 16:10:43 +01:00
2023-01-11 11:16:52 +01:00
2021-09-01 17:38:56 +03:00