1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2025-02-06 05:58:34 +00:00
Alvaro Aleman fae92b2964
perf(k8s): Improve performance of kubeconfig module (#6032)
* Fix config schema

* Improve performance of kubeconfig module

This module currently takes about 200 ms when using our ~10MiB
kubeconfig. This change improves its performance by:
* Only parsing the file once
* (Naively) checking if the content is yaml or json and potentially
  parse as the latter, as that seems to be much faster
2024-07-16 22:26:03 +02:00
..
2024-03-30 09:38:19 +01:00
2023-11-29 07:27:47 +01:00
2022-11-05 12:40:46 +01:00
2024-04-05 23:56:15 +02:00
2022-11-05 12:40:46 +01:00
2024-05-15 18:46:14 +02:00
2024-05-15 18:46:14 +02:00
2023-04-13 21:05:12 +02:00
2022-11-05 12:40:46 +01:00
2023-06-13 15:40:17 -05:00
2023-11-12 19:02:31 +01:00