Tags: loispostula/clouddriver
Tags
chore(aws): Replacing bastion configs with korks (spinnaker#3858) - bringing in kork bastion config and removing clouddriver's
perf(kubernetes): Store Kind on the KubernetesManifest object (spinna… …ker#3853) * perf(kubernetes): Use null instead of optional We create a lot of ScopedKind objects to look up kinds, so the cost of creating an Optional each time is non-negligible. In general using Optional can be more readable than null but in this case we'd rather the performance of null (and it's just as easy to read here). * perf(kubernetes): Store Kind on the KubernetesManifest object In processing manifests, we call getKind() multiple times per manifest. It's not a cheap accessor as it needs to look up kinds in the kind registry. While recent changes have made looking up kinds a lot more efficient, it still doesn't make sense to re-do this work multiple times per manifest. Compute the kind on-demand and store it on the object; clear the cached value if we change either the kind or api group on the manifest.
PreviousNext