diff --git a/Taskfile.yaml b/Taskfile.yaml index 5453313..4585997 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -142,7 +142,7 @@ tasks: KCL_HELM_VALUES: benchmarks/simple-helm-values.k cmds: - >- - hyperfine --warmup=10 + hyperfine --warmup=50 --min-runs=1000 --export-markdown ./benchmarks/README.md --command-name "kclipper ./{{.KCL_CODE}}" --command-name "kclipper ./{{.KCL_HELM}}" diff --git a/benchmarks/simple.k b/benchmarks/simple.k index fb461c2..40ee3a5 100644 --- a/benchmarks/simple.k +++ b/benchmarks/simple.k @@ -1,4 +1,6 @@ -[{ +import manifests + +_notAChart = [{ apiVersion = "apps/v1" kind = "Deployment" metadata = { @@ -34,3 +36,5 @@ } } } for x in range(0, 5)] + +manifests.yaml_stream(_notAChart, {})